Home
last modified time | relevance | path

Searched refs:NestedLoc (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp334 bool VisitNestedNameSpecifierLocations(NestedNameSpecifierLoc NestedLoc) { in VisitNestedNameSpecifierLocations() argument
335 if (!NestedLoc.getNestedNameSpecifier()->getAsType()) in VisitNestedNameSpecifierLocations()
339 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations()
341 RenameInfo Info = {NestedLoc.getBeginLoc(), in VisitNestedNameSpecifierLocations()
342 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()
344 getClosestAncestorDecl(NestedLoc), in VisitNestedNameSpecifierLocations()
345 NestedLoc.getNestedNameSpecifier()->getPrefix(), in VisitNestedNameSpecifierLocations()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp586 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); in popRegions() local
587 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions()
589 if (!isRegionAlreadyAdded(NestedLoc, EndLoc)) in popRegions()
590 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions()
600 SourceLocation NestedLoc = getEndOfFileOrMacro(StartLoc); in popRegions() local
601 assert(SM.isWrittenInSameFile(StartLoc, NestedLoc)); in popRegions()
603 if (!isRegionAlreadyAdded(StartLoc, NestedLoc)) in popRegions()
604 SourceRegions.emplace_back(Region.getCounter(), StartLoc, NestedLoc); in popRegions()