Lines Matching refs:LocEnd

116   std::optional<SourceLocation> LocEnd;  member in __anonc2c3cfe60211::SourceMappingRegion
128 std::optional<SourceLocation> LocEnd, in SourceMappingRegion() argument
130 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
136 std::optional<SourceLocation> LocEnd, in SourceMappingRegion() argument
139 LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion), in SourceMappingRegion()
144 std::optional<SourceLocation> LocEnd) in SourceMappingRegion() argument
145 : MCDCParams(MCDCParams), LocStart(LocStart), LocEnd(LocEnd), in SourceMappingRegion()
166 bool hasEndLoc() const { return LocEnd.has_value(); } in hasEndLoc()
170 LocEnd = Loc; in setEndLoc()
174 assert(LocEnd && "Region has no end location"); in getEndLoc()
175 return *LocEnd; in getEndLoc()
208 SourceLocation LocEnd) { in SpellingRegion()
211 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
212 ColumnEnd = SM.getSpellingColumnNumber(LocEnd); in SpellingRegion()
376 SourceLocation LocEnd, in adjustSkippedRange() argument
379 SpellingRegion SR{SM, LocStart, LocEnd}; in adjustSkippedRange()
384 if (NextTokLoc.isValid() && SM.isWrittenInSameFile(LocEnd, NextTokLoc) && in adjustSkippedRange()
414 auto LocEnd = Range.getEnd(); in gatherSkippedRegions() local
415 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in gatherSkippedRegions()
423 SR = adjustSkippedRange(SM, LocStart, LocEnd, I.PrevTokLoc, in gatherSkippedRegions()
426 SR = {SM, LocStart, LocEnd}; in gatherSkippedRegions()
461 SourceLocation LocEnd = Region.getEndLoc(); in emitSourceRegions() local
462 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in emitSourceRegions()
469 if (Filter.count(std::make_pair(LocStart, LocEnd))) in emitSourceRegions()
473 SpellingRegion SR{SM, LocStart, LocEnd}; in emitSourceRegions()
516 SourceLocation LocEnd = getPreciseTokenLocEnd(ParentLoc); in emitExpansionRegions() local
517 assert(SM.isWrittenInSameFile(ParentLoc, LocEnd) && in emitExpansionRegions()
519 Filter.insert(std::make_pair(ParentLoc, LocEnd)); in emitExpansionRegions()
521 SpellingRegion SR{SM, ParentLoc, LocEnd}; in emitExpansionRegions()