/external/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 419 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSLoc) { in TraverseNestedNameSpecifierLoc() argument 420 if (NNSLoc.getNestedNameSpecifier()) { in TraverseNestedNameSpecifierLoc() 421 if (const NamespaceDecl* NS = NNSLoc.getNestedNameSpecifier()->getAsNamespace()) { in TraverseNestedNameSpecifierLoc() 423 Replace = Replacement(*SM, &NNSLoc, "", Context->getLangOpts()); in TraverseNestedNameSpecifierLoc() 428 NNSLoc); in TraverseNestedNameSpecifierLoc()
|
/external/llvm-project/clang/lib/Tooling/Syntax/ |
D | BuildTree.cpp | 897 SourceRange getLocalSourceRange(const NestedNameSpecifierLoc &NNSLoc) { in getLocalSourceRange() argument 898 auto SR = NNSLoc.getLocalSourceRange(); in getLocalSourceRange() 905 if (auto TL = NNSLoc.getTypeLoc()) { in getLocalSourceRange() 946 buildNameSpecifier(const NestedNameSpecifierLoc &NNSLoc) { in buildNameSpecifier() argument 947 assert(NNSLoc.hasQualifier()); in buildNameSpecifier() 949 Builder.getRange(getLocalSourceRange(NNSLoc)).drop_back(); in buildNameSpecifier() 950 switch (getNameSpecifierKind(*NNSLoc.getNestedNameSpecifier())) { in buildNameSpecifier() 972 const auto TL = NNSLoc.getTypeLoc().castAs<DecltypeTypeLoc>(); in buildNameSpecifier() 1671 void syntax::TreeBuilder::markChild(NestedNameSpecifierLoc NNSLoc, NodeRole R) { in markChild() argument 1672 auto *SN = Mapping.find(NNSLoc); in markChild()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 751 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSLoc) { in TraverseNestedNameSpecifierLoc() argument 752 if (NNSLoc.getNestedNameSpecifier()) { in TraverseNestedNameSpecifierLoc() 753 if (const NamespaceDecl* NS = NNSLoc.getNestedNameSpecifier()->getAsNamespace()) { in TraverseNestedNameSpecifierLoc() 755 Replace = Replacement(*SM, &NNSLoc, "", Context->getLangOpts()); in TraverseNestedNameSpecifierLoc() 760 NNSLoc); in TraverseNestedNameSpecifierLoc()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 122 else if (const NestedNameSpecifierLoc *NNSLoc = in findMatch() local 124 traverse(*NNSLoc); in findMatch()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 124 else if (const NestedNameSpecifierLoc *NNSLoc = in findMatch() local 126 traverse(*NNSLoc); in findMatch()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 5024 NestedNameSpecifierLoc NNSLoc = SS.getWithLocInContext(Context); in VisitMemberPointerTypeLoc() local 5031 switch (NNSLoc.getNestedNameSpecifier()->getKind()) { in VisitMemberPointerTypeLoc() 5037 DNTLoc.setQualifierLoc(NNSLoc.getPrefix()); in VisitMemberPointerTypeLoc() 5038 DNTLoc.setNameLoc(NNSLoc.getLocalBeginLoc()); in VisitMemberPointerTypeLoc() 5047 ETLoc.setQualifierLoc(NNSLoc.getPrefix()); in VisitMemberPointerTypeLoc() 5049 NamedTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc() 5051 ClsTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc()
|
D | SemaTemplate.cpp | 1612 NestedNameSpecifierLoc NNSLoc(SS.getScopeRep(), SS.location_data()); in getRangeOfTypeInNestedNameSpecifier() local 1613 while (NestedNameSpecifier *NNS = NNSLoc.getNestedNameSpecifier()) { in getRangeOfTypeInNestedNameSpecifier() 1616 return NNSLoc.getTypeLoc().getSourceRange(); in getRangeOfTypeInNestedNameSpecifier() 1620 NNSLoc = NNSLoc.getPrefix(); in getRangeOfTypeInNestedNameSpecifier()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 1871 TEST(NNSLoc, DescendantsOfNestedNameSpecifierLocs) { in TEST() argument 1898 TEST(NNSLoc, NestedNameSpecifierLocsAsDescendants) { in TEST() argument
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaType.cpp | 6048 NestedNameSpecifierLoc NNSLoc = SS.getWithLocInContext(Context); in VisitMemberPointerTypeLoc() local 6055 switch (NNSLoc.getNestedNameSpecifier()->getKind()) { in VisitMemberPointerTypeLoc() 6061 DNTLoc.setQualifierLoc(NNSLoc.getPrefix()); in VisitMemberPointerTypeLoc() 6062 DNTLoc.setNameLoc(NNSLoc.getLocalBeginLoc()); in VisitMemberPointerTypeLoc() 6071 ETLoc.setQualifierLoc(NNSLoc.getPrefix()); in VisitMemberPointerTypeLoc() 6073 NamedTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc() 6075 ClsTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc()
|
D | SemaTemplate.cpp | 2981 NestedNameSpecifierLoc NNSLoc(SS.getScopeRep(), SS.location_data()); in getRangeOfTypeInNestedNameSpecifier() local 2982 while (NestedNameSpecifier *NNS = NNSLoc.getNestedNameSpecifier()) { in getRangeOfTypeInNestedNameSpecifier() 2985 return NNSLoc.getTypeLoc().getSourceRange(); in getRangeOfTypeInNestedNameSpecifier() 2989 NNSLoc = NNSLoc.getPrefix(); in getRangeOfTypeInNestedNameSpecifier()
|
D | SemaOverload.cpp | 13210 NestedNameSpecifierLoc NNSLoc, in CreateUnresolvedLookupExpr() argument 13214 return UnresolvedLookupExpr::Create(Context, NamingClass, NNSLoc, DNI, in CreateUnresolvedLookupExpr()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 3951 TEST(NNSLoc, DescendantsOfNestedNameSpecifierLocs) { in TEST() argument 3978 TEST(NNSLoc, NestedNameSpecifierLocsAsDescendants) { in TEST() argument
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 3696 NestedNameSpecifierLoc NNSLoc,
|