reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
578 size_t EndDepth = locationDepth(EndLoc); 579 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { 585 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); 586 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); 588 if (!isRegionAlreadyAdded(NestedLoc, EndLoc)) 589 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); 591 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); 591 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); 592 if (EndLoc.isInvalid()) 612 Region.setEndLoc(EndLoc); 614 MostRecentLocation = EndLoc; 618 EndLoc == getEndOfFileOrMacro(EndLoc)) 618 EndLoc == getEndOfFileOrMacro(EndLoc)) 619 MostRecentLocation = getIncludeOrExpansionLoc(EndLoc); 621 assert(SM.isWrittenInSameFile(Region.getBeginLoc(), EndLoc)); 633 !EndLoc.isMacroID()) 635 SourceMappingRegion(Counter::getZero(), EndLoc, None);