Lines Matching refs:ProvenanceRange

21     ProvenanceRange range, std::size_t offset) {  in Put()
37 ProvenanceRange range) const { in Map()
41 ProvenanceRange that{iter->first}; in Map()
53 ProvenanceRange before, ProvenanceRange after) const { in operator ()()
76 void OffsetToProvenanceMappings::Put(ProvenanceRange range) { in Put()
93 ProvenanceRange OffsetToProvenanceMappings::Map(std::size_t at) const { in Map()
129 ProvenanceRange range{contig.range}; in Invert()
131 ProvenanceRange source{allSources.IntersectionWithSourceFiles(range)}; in Invert()
200 ProvenanceRange AllSources::AddIncludedFile( in AddIncludedFile()
201 const SourceFile &source, ProvenanceRange from, bool isModule) { in AddIncludedFile()
202 ProvenanceRange covers{range_.NextAfter(), source.bytes()}; in AddIncludedFile()
209 ProvenanceRange AllSources::AddMacroCall( in AddMacroCall()
210 ProvenanceRange def, ProvenanceRange use, const std::string &expansion) { in AddMacroCall()
211 ProvenanceRange covers{range_.NextAfter(), expansion.size()}; in AddMacroCall()
218 ProvenanceRange AllSources::AddCompilerInsertion(std::string text) { in AddCompilerInsertion()
219 ProvenanceRange covers{range_.NextAfter(), text.size()}; in AddCompilerInsertion()
227 const std::optional<ProvenanceRange> &range, const std::string &message, in EmitMessage()
318 const char *AllSources::GetSource(ProvenanceRange range) const { in GetSource()
345 std::optional<ProvenanceRange> AllSources::GetFirstFileProvenance() const { in GetFirstFileProvenance()
370 ProvenanceRange newCharRange{AddCompilerInsertion(std::string{ch})}; in CompilerInsertionProvenance()
376 ProvenanceRange AllSources::IntersectionWithSourceFiles( in IntersectionWithSourceFiles()
377 ProvenanceRange range) const { in IntersectionWithSourceFiles()
392 AllSources::Origin::Origin(ProvenanceRange r, const SourceFile &source) in Origin()
394 AllSources::Origin::Origin(ProvenanceRange r, const SourceFile &included, in Origin()
395 ProvenanceRange from, bool isModule) in Origin()
397 AllSources::Origin::Origin(ProvenanceRange r, ProvenanceRange def, in Origin()
398 ProvenanceRange use, const std::string &expansion) in Origin()
400 AllSources::Origin::Origin(ProvenanceRange r, const std::string &text) in Origin()
433 std::optional<ProvenanceRange> CookedSource::GetProvenanceRange( in GetProvenanceRange()
438 ProvenanceRange first{provenanceMap_.Map(cookedRange.begin() - &data_[0])}; in GetProvenanceRange()
442 ProvenanceRange last{provenanceMap_.Map(cookedRange.end() - 1 - &data_[0])}; in GetProvenanceRange()
444 return {ProvenanceRange{first.start(), last.start() - first.start() + 1}}; in GetProvenanceRange()
451 ProvenanceRange range) const { in GetCharBlock()
479 static void DumpRange(llvm::raw_ostream &o, const ProvenanceRange &r) { in DumpRange()
567 std::optional<ProvenanceRange> AllCookedSources::GetProvenanceRange( in GetProvenanceRange()
584 return GetCharBlock(ProvenanceRange(sourceFile->GetLineStartOffset(line) + in GetCharBlockFromLineAndColumns()
605 ProvenanceRange range) const { in GetCharBlock()