Lines Matching defs:LocEnd
124 std::optional<SourceLocation> LocEnd;
136 std::optional<SourceLocation> LocEnd,
138 : Count(Count), LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion),
144 std::optional<SourceLocation> LocEnd,
147 LocStart(LocStart), LocEnd(LocEnd), GapRegion(GapRegion),
152 std::optional<SourceLocation> LocEnd)
153 : MCDCParams(MCDCParams), LocStart(LocStart), LocEnd(LocEnd),
174 bool hasEndLoc() const { return LocEnd.has_value(); }
178 LocEnd = Loc;
182 assert(LocEnd && "Region has no end location");
183 return *LocEnd;
232 SourceLocation LocEnd) {
235 LineEnd = SM.getSpellingLineNumber(LocEnd);
236 ColumnEnd = SM.getSpellingColumnNumber(LocEnd);
445 SourceLocation LocEnd,
448 SpellingRegion SR{SM, LocStart, LocEnd};
453 if (NextTokLoc.isValid() && SM.isWrittenInSameFile(LocEnd, NextTokLoc) &&
483 auto LocEnd = Range.getEnd();
484 assert(SM.isWrittenInSameFile(LocStart, LocEnd) &&
492 SR = adjustSkippedRange(SM, LocStart, LocEnd, I.PrevTokLoc,
495 SR = {SM, LocStart, LocEnd};
536 SourceLocation LocEnd = Region.getEndLoc();
537 assert(SM.isWrittenInSameFile(LocStart, LocEnd) &&
544 if (Filter.count(std::make_pair(LocStart, LocEnd))) {
551 SpellingRegion SR{SM, LocStart, LocEnd};
594 SourceLocation LocEnd = getPreciseTokenLocEnd(ParentLoc);
595 assert(SM.isWrittenInSameFile(ParentLoc, LocEnd) &&
597 Filter.insert(std::make_pair(ParentLoc, LocEnd));
599 SpellingRegion SR{SM, ParentLoc, LocEnd};