Lines Matching defs:LocEnd
121 std::optional<SourceLocation> LocEnd;
133 std::optional<SourceLocation> LocEnd,
135 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion),
141 std::optional<SourceLocation> LocEnd,
144 LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion),
149 std::optional<SourceLocation> LocEnd)
150 : MCDCParams(MCDCParams), LocStart(LocStart), LocEnd(LocEnd),
171 bool hasEndLoc() const { return LocEnd.has_value(); }
175 LocEnd = Loc;
179 assert(LocEnd && "Region has no end location");
180 return *LocEnd;
229 SourceLocation LocEnd) {
232 LineEnd = SM.getSpellingLineNumber(LocEnd);
233 ColumnEnd = SM.getSpellingColumnNumber(LocEnd);
442 SourceLocation LocEnd,
445 SpellingRegion SR{SM, LocStart, LocEnd};
450 if (NextTokLoc.isValid() && SM.isWrittenInSameFile(LocEnd, NextTokLoc) &&
480 auto LocEnd = Range.getEnd();
481 assert(SM.isWrittenInSameFile(LocStart, LocEnd) &&
489 SR = adjustSkippedRange(SM, LocStart, LocEnd, I.PrevTokLoc,
492 SR = {SM, LocStart, LocEnd};
533 SourceLocation LocEnd = Region.getEndLoc();
534 assert(SM.isWrittenInSameFile(LocStart, LocEnd) &&
541 if (Filter.count(std::make_pair(LocStart, LocEnd))) {
548 SpellingRegion SR{SM, LocStart, LocEnd};
591 SourceLocation LocEnd = getPreciseTokenLocEnd(ParentLoc);
592 assert(SM.isWrittenInSameFile(ParentLoc, LocEnd) &&
594 Filter.insert(std::make_pair(ParentLoc, LocEnd));
596 SpellingRegion SR{SM, ParentLoc, LocEnd};