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()
126 ProvenanceRange range{contig.range}; in Invert()
128 ProvenanceRange source{allSources.IntersectionWithSourceFiles(range)}; in Invert()
187 ProvenanceRange AllSources::AddIncludedFile( in AddIncludedFile()
188 const SourceFile &source, ProvenanceRange from, bool isModule) { in AddIncludedFile()
189 ProvenanceRange covers{range_.NextAfter(), source.bytes()}; in AddIncludedFile()
196 ProvenanceRange AllSources::AddMacroCall( in AddMacroCall()
197 ProvenanceRange def, ProvenanceRange use, const std::string &expansion) { in AddMacroCall()
198 ProvenanceRange covers{range_.NextAfter(), expansion.size()}; in AddMacroCall()
205 ProvenanceRange AllSources::AddCompilerInsertion(std::string text) { in AddCompilerInsertion()
206 ProvenanceRange covers{range_.NextAfter(), text.size()}; in AddCompilerInsertion()
214 const std::optional<ProvenanceRange> &range, const std::string &message, in EmitMessage()
304 const char *AllSources::GetSource(ProvenanceRange range) const { in GetSource()
323 std::optional<ProvenanceRange> AllSources::GetFirstFileProvenance() const { in GetFirstFileProvenance()
348 ProvenanceRange newCharRange{AddCompilerInsertion(std::string{ch})}; in CompilerInsertionProvenance()
354 ProvenanceRange AllSources::IntersectionWithSourceFiles( in IntersectionWithSourceFiles()
355 ProvenanceRange range) const { in IntersectionWithSourceFiles()
370 AllSources::Origin::Origin(ProvenanceRange r, const SourceFile &source) in Origin()
372 AllSources::Origin::Origin(ProvenanceRange r, const SourceFile &included, in Origin()
373 ProvenanceRange from, bool isModule) in Origin()
375 AllSources::Origin::Origin(ProvenanceRange r, ProvenanceRange def, in Origin()
376 ProvenanceRange use, const std::string &expansion) in Origin()
378 AllSources::Origin::Origin(ProvenanceRange r, const std::string &text) in Origin()
411 std::optional<ProvenanceRange> CookedSource::GetProvenanceRange( in GetProvenanceRange()
416 ProvenanceRange first{provenanceMap_.Map(cookedRange.begin() - &data_[0])}; in GetProvenanceRange()
420 ProvenanceRange last{provenanceMap_.Map(cookedRange.end() - &data_[0])}; in GetProvenanceRange()
421 return {ProvenanceRange{first.start(), last.start() - first.start()}}; in GetProvenanceRange()
425 ProvenanceRange range) const { in GetCharBlock()
451 static void DumpRange(llvm::raw_ostream &o, const ProvenanceRange &r) { in DumpRange()
529 std::optional<ProvenanceRange> AllCookedSources::GetProvenanceRange( in GetProvenanceRange()
546 return GetCharBlock(ProvenanceRange(sourceFile->GetLineStartOffset(line) + in GetCharBlockFromLineAndColumns()
567 ProvenanceRange range) const { in GetCharBlock()