Lines Matching refs:LocEnd

106   Optional<SourceLocation> LocEnd;  member in __anon8934bc200211::SourceMappingRegion
114 Optional<SourceLocation> LocEnd, bool GapRegion = false) in SourceMappingRegion() argument
115 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion) { in SourceMappingRegion()
120 Optional<SourceLocation> LocEnd, bool GapRegion = false) in SourceMappingRegion() argument
122 LocEnd(LocEnd), GapRegion(GapRegion) {} in SourceMappingRegion()
142 bool hasEndLoc() const { return LocEnd.has_value(); } in hasEndLoc()
146 LocEnd = Loc; in setEndLoc()
150 assert(LocEnd && "Region has no end location"); in getEndLoc()
151 return *LocEnd; in getEndLoc()
176 SourceLocation LocEnd) { in SpellingRegion()
179 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
180 ColumnEnd = SM.getSpellingColumnNumber(LocEnd); in SpellingRegion()
343 SourceLocation LocEnd, in adjustSkippedRange() argument
346 SpellingRegion SR{SM, LocStart, LocEnd}; in adjustSkippedRange()
351 if (NextTokLoc.isValid() && SM.isWrittenInSameFile(LocEnd, NextTokLoc) && in adjustSkippedRange()
381 auto LocEnd = Range.getEnd(); in gatherSkippedRegions() local
382 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in gatherSkippedRegions()
390 SR = adjustSkippedRange(SM, LocStart, LocEnd, I.PrevTokLoc, in gatherSkippedRegions()
393 SR = {SM, LocStart, LocEnd}; in gatherSkippedRegions()
426 SourceLocation LocEnd = Region.getEndLoc(); in emitSourceRegions() local
427 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in emitSourceRegions()
434 if (Filter.count(std::make_pair(LocStart, LocEnd))) in emitSourceRegions()
438 SpellingRegion SR{SM, LocStart, LocEnd}; in emitSourceRegions()
472 SourceLocation LocEnd = getPreciseTokenLocEnd(ParentLoc); in emitExpansionRegions() local
473 assert(SM.isWrittenInSameFile(ParentLoc, LocEnd) && in emitExpansionRegions()
475 Filter.insert(std::make_pair(ParentLoc, LocEnd)); in emitExpansionRegions()
477 SpellingRegion SR{SM, ParentLoc, LocEnd}; in emitExpansionRegions()