Lines Matching refs:LocStart
40 Optional<SourceLocation> LocStart;
46 SourceMappingRegion(Counter Count, Optional<SourceLocation> LocStart,
48 : Count(Count), LocStart(LocStart), LocEnd(LocEnd) {}
54 bool hasStartLoc() const { return LocStart.hasValue(); }
56 void setStartLoc(SourceLocation Loc) { LocStart = Loc; }
59 assert(LocStart && "Region has no start location");
60 return *LocStart;
218 auto LocStart = I.getBegin();
220 assert(SM.isWrittenInSameFile(LocStart, LocEnd) &&
223 auto CovFileID = getCoverageFileID(LocStart);
226 unsigned LineStart = SM.getSpellingLineNumber(LocStart);
227 unsigned ColumnStart = SM.getSpellingColumnNumber(LocStart);
246 SourceLocation LocStart = Region.getStartLoc();
247 assert(SM.getFileID(LocStart).isValid() && "region in invalid file");
249 auto CovFileID = getCoverageFileID(LocStart);
255 assert(SM.isWrittenInSameFile(LocStart, LocEnd) &&
259 unsigned LineStart = SM.getSpellingLineNumber(LocStart);
260 unsigned ColumnStart = SM.getSpellingColumnNumber(LocStart);