Lines Matching refs:EndLoc
381 Optional<SourceLocation> EndLoc = None) { in pushRegion()
384 RegionStack.emplace_back(Count, StartLoc, EndLoc); in pushRegion()
399 SourceLocation EndLoc = Region.hasEndLoc() in popRegions() local
402 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
405 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); in popRegions()
406 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions()
408 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions()
410 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); in popRegions()
411 assert(!EndLoc.isInvalid() && in popRegions()
414 Region.setEndLoc(EndLoc); in popRegions()
416 MostRecentLocation = EndLoc; in popRegions()
420 EndLoc == getEndOfFileOrMacro(EndLoc)) in popRegions()
421 MostRecentLocation = getIncludeOrExpansionLoc(EndLoc); in popRegions()
423 assert(SM.isWrittenInSameFile(Region.getStartLoc(), EndLoc)); in popRegions()
448 void adjustForOutOfOrderTraversal(SourceLocation EndLoc) { in adjustForOutOfOrderTraversal()
449 MostRecentLocation = EndLoc; in adjustForOutOfOrderTraversal()