Lines Matching refs:EndLoc
587 Optional<SourceLocation> EndLoc = None, in pushRegion()
594 RegionStack.emplace_back(Count, FalseCount, StartLoc, EndLoc); in pushRegion()
618 SourceLocation EndLoc = Region.hasEndLoc() in popRegions() local
623 size_t EndDepth = locationDepth(EndLoc); in popRegions()
624 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
634 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); in popRegions()
635 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions()
637 if (!isBranch && !isRegionAlreadyAdded(NestedLoc, EndLoc)) in popRegions()
639 EndLoc); in popRegions()
641 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); in popRegions()
642 if (EndLoc.isInvalid()) in popRegions()
669 Region.setEndLoc(EndLoc); in popRegions()
672 MostRecentLocation = EndLoc; in popRegions()
676 EndLoc == getEndOfFileOrMacro(EndLoc)) in popRegions()
677 MostRecentLocation = getIncludeOrExpansionLoc(EndLoc); in popRegions()
680 assert(SM.isWrittenInSameFile(Region.getBeginLoc(), EndLoc)); in popRegions()
699 SourceLocation EndLoc = getEnd(S); in propagateCounts() local
700 size_t Index = pushRegion(TopCount, StartLoc, EndLoc); in propagateCounts()
709 MostRecentLocation = EndLoc; in propagateCounts()
761 bool isRegionAlreadyAdded(SourceLocation StartLoc, SourceLocation EndLoc, in isRegionAlreadyAdded()
766 Region.getEndLoc() == EndLoc && Region.isBranch() == isBranch; in isRegionAlreadyAdded()
773 void adjustForOutOfOrderTraversal(SourceLocation EndLoc) { in adjustForOutOfOrderTraversal()
774 MostRecentLocation = EndLoc; in adjustForOutOfOrderTraversal()
873 SourceLocation EndLoc = getEnd(S); in terminateRegion() local
875 Region.setEndLoc(EndLoc); in terminateRegion()
928 void fillGapAreaWithCount(SourceLocation StartLoc, SourceLocation EndLoc, in fillGapAreaWithCount()
930 if (StartLoc == EndLoc) in fillGapAreaWithCount()
932 assert(SpellingRegion(SM, StartLoc, EndLoc).isInSourceOrder()); in fillGapAreaWithCount()
934 size_t Index = pushRegion(Count, StartLoc, EndLoc); in fillGapAreaWithCount()
936 handleFileExit(EndLoc); in fillGapAreaWithCount()