• Home
  • Raw
  • Download

Lines Matching refs:covers

156   return origin[origin.covers.MemberOffset(at)];  in operator []()
189 ProvenanceRange covers{range_.NextAfter(), source.bytes()}; in AddIncludedFile() local
190 CHECK(range_.AnnexIfPredecessor(covers)); in AddIncludedFile()
191 CHECK(origin_.back().covers.ImmediatelyPrecedes(covers)); in AddIncludedFile()
192 origin_.emplace_back(covers, source, from, isModule); in AddIncludedFile()
193 return covers; in AddIncludedFile()
198 ProvenanceRange covers{range_.NextAfter(), expansion.size()}; in AddMacroCall() local
199 CHECK(range_.AnnexIfPredecessor(covers)); in AddMacroCall()
200 CHECK(origin_.back().covers.ImmediatelyPrecedes(covers)); in AddMacroCall()
201 origin_.emplace_back(covers, def, use, expansion); in AddMacroCall()
202 return covers; in AddMacroCall()
206 ProvenanceRange covers{range_.NextAfter(), text.size()}; in AddCompilerInsertion() local
207 CHECK(range_.AnnexIfPredecessor(covers)); in AddCompilerInsertion()
208 CHECK(origin_.back().covers.ImmediatelyPrecedes(covers)); in AddCompilerInsertion()
209 origin_.emplace_back(covers, text); in AddCompilerInsertion()
210 return covers; in AddCompilerInsertion()
226 std::size_t offset{origin.covers.MemberOffset(range->start())}; in EmitMessage()
246 auto endOffset{origin.covers.MemberOffset(last)}; in EmitMessage()
270 origin.covers.OffsetMember(j) < range->start(); ++j) { in EmitMessage()
287 *offset = origin.covers.MemberOffset(at); in GetSourceFile()
307 return origin.covers.Contains(range) in GetSource()
308 ? &origin[origin.covers.MemberOffset(start)] in GetSource()
316 std::size_t offset{origin.covers.MemberOffset(prov)}; in GetSourcePosition()
326 return origin.covers; in GetFirstFileProvenance()
361 return range.Intersection(origin.covers); in IntersectionWithSourceFiles()
364 origin.covers.size() - origin.covers.MemberOffset(range.start())}; in IntersectionWithSourceFiles()
371 : u{Inclusion{source}}, covers{r} {} in Origin()
374 : u{Inclusion{included, isModule}}, covers{r}, replaces{from} {} in Origin()
377 : u{Macro{def, expansion}}, covers{r}, replaces{use} {} in Origin()
379 : u{CompilerInsertion{text}}, covers{r} {} in Origin()
400 if (at < origin_[mid].covers.start()) { in MapToOrigin()
407 CHECK(origin_[low].covers.Contains(at)); in MapToOrigin()
485 DumpRange(o, m.covers); in Dump()