Lines Matching refs:LocEnd

105   Optional<SourceLocation> LocEnd;  member in __anone2f8b4240211::SourceMappingRegion
113 Optional<SourceLocation> LocEnd, bool GapRegion = false) in SourceMappingRegion() argument
114 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion) { in SourceMappingRegion()
119 Optional<SourceLocation> LocEnd, bool GapRegion = false) in SourceMappingRegion() argument
121 LocEnd(LocEnd), GapRegion(GapRegion) {} in SourceMappingRegion()
141 bool hasEndLoc() const { return LocEnd.hasValue(); } in hasEndLoc()
145 LocEnd = Loc; in setEndLoc()
149 assert(LocEnd && "Region has no end location"); in getEndLoc()
150 return *LocEnd; in getEndLoc()
175 SourceLocation LocEnd) { in SpellingRegion()
178 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
179 ColumnEnd = SM.getSpellingColumnNumber(LocEnd); in SpellingRegion()
340 SourceLocation LocEnd, in adjustSkippedRange() argument
343 SpellingRegion SR{SM, LocStart, LocEnd}; in adjustSkippedRange()
348 if (NextTokLoc.isValid() && SM.isWrittenInSameFile(LocEnd, NextTokLoc) && in adjustSkippedRange()
378 auto LocEnd = Range.getEnd(); in gatherSkippedRegions() local
379 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in gatherSkippedRegions()
386 adjustSkippedRange(SM, LocStart, LocEnd, I.PrevTokLoc, I.NextTokLoc); in gatherSkippedRegions()
418 SourceLocation LocEnd = Region.getEndLoc(); in emitSourceRegions() local
419 assert(SM.isWrittenInSameFile(LocStart, LocEnd) && in emitSourceRegions()
426 if (Filter.count(std::make_pair(LocStart, LocEnd))) in emitSourceRegions()
430 SpellingRegion SR{SM, LocStart, LocEnd}; in emitSourceRegions()
464 SourceLocation LocEnd = getPreciseTokenLocEnd(ParentLoc); in emitExpansionRegions() local
465 assert(SM.isWrittenInSameFile(ParentLoc, LocEnd) && in emitExpansionRegions()
467 Filter.insert(std::make_pair(ParentLoc, LocEnd)); in emitExpansionRegions()
469 SpellingRegion SR{SM, ParentLoc, LocEnd}; in emitExpansionRegions()