Lines Matching defs:LocEnd
45 Optional<SourceLocation> LocEnd;
49 Optional<SourceLocation> LocEnd)
50 : Count(Count), LocStart(LocStart), LocEnd(LocEnd) {}
65 bool hasEndLoc() const { return LocEnd.hasValue(); }
67 void setEndLoc(SourceLocation Loc) { LocEnd = Loc; }
70 assert(LocEnd && "Region has no end location");
71 return *LocEnd;
228 auto LocEnd = I.getEnd();
229 assert(SM.isWrittenInSameFile(LocStart, LocEnd) &&
237 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd);
238 unsigned ColumnEnd = SM.getSpellingColumnNumber(LocEnd);
267 SourceLocation LocEnd = Region.getEndLoc();
268 assert(SM.isWrittenInSameFile(LocStart, LocEnd) &&
274 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd);
275 unsigned ColumnEnd = SM.getSpellingColumnNumber(LocEnd);
298 SourceLocation LocEnd = getPreciseTokenLocEnd(ParentLoc);
299 assert(SM.isWrittenInSameFile(ParentLoc, LocEnd) &&
304 unsigned LineEnd = SM.getSpellingLineNumber(LocEnd);
305 unsigned ColumnEnd = SM.getSpellingColumnNumber(LocEnd);