Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:EndLoc

375                     Optional<SourceLocation> EndLoc = None) {
378 RegionStack.emplace_back(Count, StartLoc, EndLoc);
393 SourceLocation EndLoc = Region.hasEndLoc()
396 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) {
399 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc);
400 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc));
402 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc);
404 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc));
405 if (EndLoc.isInvalid())
408 Region.setEndLoc(EndLoc);
410 MostRecentLocation = EndLoc;
414 EndLoc == getEndOfFileOrMacro(EndLoc))
415 MostRecentLocation = getIncludeOrExpansionLoc(EndLoc);
417 assert(SM.isWrittenInSameFile(Region.getStartLoc(), EndLoc));
439 EndLoc.
442 void adjustForOutOfOrderTraversal(SourceLocation EndLoc) {
443 MostRecentLocation = EndLoc;