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