Lines Matching refs:EndLoc

578                     Optional<SourceLocation> EndLoc = None,  in pushRegion()
585 RegionStack.emplace_back(Count, FalseCount, StartLoc, EndLoc); in pushRegion()
609 SourceLocation EndLoc = Region.hasEndLoc() in popRegions() local
614 size_t EndDepth = locationDepth(EndLoc); in popRegions()
615 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
625 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); in popRegions()
626 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions()
628 if (!isBranch && !isRegionAlreadyAdded(NestedLoc, EndLoc)) in popRegions()
630 EndLoc); in popRegions()
632 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); in popRegions()
633 if (EndLoc.isInvalid()) in popRegions()
660 Region.setEndLoc(EndLoc); in popRegions()
663 MostRecentLocation = EndLoc; in popRegions()
667 EndLoc == getEndOfFileOrMacro(EndLoc)) in popRegions()
668 MostRecentLocation = getIncludeOrExpansionLoc(EndLoc); in popRegions()
671 assert(SM.isWrittenInSameFile(Region.getBeginLoc(), EndLoc)); in popRegions()
690 SourceLocation EndLoc = getEnd(S); in propagateCounts() local
691 size_t Index = pushRegion(TopCount, StartLoc, EndLoc); in propagateCounts()
700 MostRecentLocation = EndLoc; in propagateCounts()
752 bool isRegionAlreadyAdded(SourceLocation StartLoc, SourceLocation EndLoc, in isRegionAlreadyAdded()
758 Region.getEndLoc() == EndLoc && in isRegionAlreadyAdded()
766 void adjustForOutOfOrderTraversal(SourceLocation EndLoc) { in adjustForOutOfOrderTraversal()
767 MostRecentLocation = EndLoc; in adjustForOutOfOrderTraversal()
866 SourceLocation EndLoc = getEnd(S); in terminateRegion() local
868 Region.setEndLoc(EndLoc); in terminateRegion()
921 void fillGapAreaWithCount(SourceLocation StartLoc, SourceLocation EndLoc, in fillGapAreaWithCount()
923 if (StartLoc == EndLoc) in fillGapAreaWithCount()
925 assert(SpellingRegion(SM, StartLoc, EndLoc).isInSourceOrder()); in fillGapAreaWithCount()
927 size_t Index = pushRegion(Count, StartLoc, EndLoc); in fillGapAreaWithCount()
929 handleFileExit(EndLoc); in fillGapAreaWithCount()