Searched refs:NNSL (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | DumpAST.cpp | 149 std::string getKind(const NestedNameSpecifierLoc &NNSL) { in getKind() argument 150 assert(NNSL.getNestedNameSpecifier()); in getKind() 151 switch (NNSL.getNestedNameSpecifier()->getKind()) { in getKind() 271 std::string getDetail(const NestedNameSpecifierLoc &NNSL) { in getDetail() argument 272 const auto &NNS = *NNSL.getNestedNameSpecifier(); in getDetail() 354 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSL) { in TraverseNestedNameSpecifierLoc() argument 355 return !NNSL || traverseNode("specifier", NNSL, [&] { in TraverseNestedNameSpecifierLoc() 356 Base::TraverseNestedNameSpecifierLoc(NNSL); in TraverseNestedNameSpecifierLoc() 409 else if (const auto *NNSL = N.get<NestedNameSpecifierLoc>()) in dumpAST() local 411 *const_cast<NestedNameSpecifierLoc *>(NNSL)); in dumpAST()
|
| H A D | FindTarget.cpp | 537 else if (const NestedNameSpecifierLoc *NNSL = N.get<NestedNameSpecifierLoc>()) in allTargetDecls() local 538 Finder.add(NNSL->getNestedNameSpecifier(), Flags); in allTargetDecls() 1051 if (auto *NNSL = N.get<NestedNameSpecifierLoc>()) { in explicitReference() local 1054 NNSL->getPrefix(), NNSL->getLocalBeginLoc(), false, in explicitReference() 1056 DynTypedNode::create(*NNSL->getNestedNameSpecifier()), in explicitReference()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTTypeTraits.cpp | 181 else if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) { in print() local 182 if (const NestedNameSpecifier *NNS = NNSL->getNestedNameSpecifier()) in print() 219 if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) in getSourceRange() local 220 return NNSL->getSourceRange(); in getSourceRange()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTTypeTraits.h | 387 auto NNSL = Val.getUnchecked<NestedNameSpecifierLoc>(); 388 return llvm::hash_combine(NNSL.getNestedNameSpecifier(), 389 NNSL.getOpaqueData());
|
| H A D | OpenMPClause.h | 5392 void setMapperQualifierLoc(NestedNameSpecifierLoc NNSL) { in setMapperQualifierLoc() argument 5393 MapperQualifierLoc = NNSL; in setMapperQualifierLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | AddUsing.cpp | 227 std::string getNNSLAsString(NestedNameSpecifierLoc &NNSL, in getNNSLAsString() argument 231 NNSL.getNestedNameSpecifier()->print(OutStream, Policy); in getNNSLAsString()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/Dynamic/ |
| H A D | RegistryTest.cpp | 233 Matcher<NestedNameSpecifierLoc> NNSL = in TEST_F() local 241 EXPECT_FALSE(matches(Code, NNSL)); in TEST_F() 245 EXPECT_TRUE(matches(Code, NNSL)); in TEST_F()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 901 } else if (const auto *NNSL = State.getNode<NestedNameSpecifierLoc>()) { in dumpNodeFromState() local 902 dumpNode(Ctx, DynTypedNode::create(*NNSL), OS); in dumpNodeFromState()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 12102 NestedNameSpecifierLoc NNSL = Record.readNestedNameSpecifierLoc(); in VisitOMPReductionClause() local 12104 C->setQualifierLoc(NNSL); in VisitOMPReductionClause() 12149 NestedNameSpecifierLoc NNSL = Record.readNestedNameSpecifierLoc(); in VisitOMPTaskReductionClause() local 12151 C->setQualifierLoc(NNSL); in VisitOMPTaskReductionClause() 12182 NestedNameSpecifierLoc NNSL = Record.readNestedNameSpecifierLoc(); in VisitOMPInReductionClause() local 12184 C->setQualifierLoc(NNSL); in VisitOMPInReductionClause()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 5339 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSL) { in TraverseNestedNameSpecifierLoc() argument 5340 if (NNSL) { in TraverseNestedNameSpecifierLoc() 5341 NestedNameSpecifier *NNS = NNSL.getNestedNameSpecifier(); in TraverseNestedNameSpecifierLoc() 5347 return RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(NNSL); in TraverseNestedNameSpecifierLoc()
|