Home
last modified time | relevance | path

Searched refs:NNSLoc (Results 1 – 13 of 13) sorted by relevance

/external/clang/unittests/Tooling/
DRefactoringTest.cpp419 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/
DBuildTree.cpp897 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/
DRefactoringTest.cpp751 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/
DASTMatchFinder.cpp122 else if (const NestedNameSpecifierLoc *NNSLoc = in findMatch() local
124 traverse(*NNSLoc); in findMatch()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchFinder.cpp124 else if (const NestedNameSpecifierLoc *NNSLoc = in findMatch() local
126 traverse(*NNSLoc); in findMatch()
/external/clang/lib/Sema/
DSemaType.cpp5024 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()
DSemaTemplate.cpp1612 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/
DASTMatchersTraversalTest.cpp1871 TEST(NNSLoc, DescendantsOfNestedNameSpecifierLocs) { in TEST() argument
1898 TEST(NNSLoc, NestedNameSpecifierLocsAsDescendants) { in TEST() argument
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp6048 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()
DSemaTemplate.cpp2981 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()
DSemaOverload.cpp13210 NestedNameSpecifierLoc NNSLoc, in CreateUnresolvedLookupExpr() argument
13214 return UnresolvedLookupExpr::Create(Context, NamingClass, NNSLoc, DNI, in CreateUnresolvedLookupExpr()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp3951 TEST(NNSLoc, DescendantsOfNestedNameSpecifierLocs) { in TEST() argument
3978 TEST(NNSLoc, NestedNameSpecifierLocsAsDescendants) { in TEST() argument
/external/llvm-project/clang/include/clang/Sema/
DSema.h3696 NestedNameSpecifierLoc NNSLoc,