Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DDumpAST.cpp150 std::string getKind(const NestedNameSpecifierLoc &NNSL) { in getKind() argument
151 assert(NNSL.getNestedNameSpecifier()); in getKind()
152 switch (NNSL.getNestedNameSpecifier()->getKind()) { in getKind()
272 std::string getDetail(const NestedNameSpecifierLoc &NNSL) { in getDetail() argument
273 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()
DFindTarget.cpp695 else if (const NestedNameSpecifierLoc *NNSL = N.get<NestedNameSpecifierLoc>()) in allTargetDecls() local
696 Finder.add(NNSL->getNestedNameSpecifier(), Flags); in allTargetDecls()
1122 if (auto *NNSL = N.get<NestedNameSpecifierLoc>()) { in explicitReference() local
1125 NNSL->getPrefix(), NNSL->getLocalBeginLoc(), false, in explicitReference()
1127 DynTypedNode::create(*NNSL->getNestedNameSpecifier()), in explicitReference()
/external/clang/lib/AST/
DASTTypeTraits.cpp114 else if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) in print() local
115 NNSL->getNestedNameSpecifier()->print(OS, PP); in print()
142 if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) in getSourceRange() local
143 return NNSL->getSourceRange(); in getSourceRange()
/external/llvm-project/clang/lib/AST/
DASTTypeTraits.cpp139 else if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) { in print() local
140 if (const NestedNameSpecifier *NNS = NNSL->getNestedNameSpecifier()) in print()
173 if (const NestedNameSpecifierLoc *NNSL = get<NestedNameSpecifierLoc>()) in getSourceRange() local
174 return NNSL->getSourceRange(); in getSourceRange()
/external/clang/include/clang/AST/
DASTTypeTraits.h349 auto NNSL = Val.getUnchecked<NestedNameSpecifierLoc>();
350 return llvm::hash_combine(NNSL.getNestedNameSpecifier(),
351 NNSL.getOpaqueData());
/external/llvm-project/clang/include/clang/AST/
DASTTypeTraits.h367 auto NNSL = Val.getUnchecked<NestedNameSpecifierLoc>();
368 return llvm::hash_combine(NNSL.getNestedNameSpecifier(),
369 NNSL.getOpaqueData());
DOpenMPClause.h5060 void setMapperQualifierLoc(NestedNameSpecifierLoc NNSL) { in setMapperQualifierLoc() argument
5061 MapperQualifierLoc = NNSL; in setMapperQualifierLoc()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DAddUsing.cpp225 std::string getNNSLAsString(NestedNameSpecifierLoc &NNSL, in getNNSLAsString() argument
229 NNSL.getNestedNameSpecifier()->print(OutStream, Policy); in getNNSLAsString()
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp215 Matcher<NestedNameSpecifierLoc> NNSL = in TEST_F() local
223 EXPECT_FALSE(matches(Code, NNSL)); in TEST_F()
227 EXPECT_TRUE(matches(Code, NNSL)); in TEST_F()
/external/llvm-project/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp214 Matcher<NestedNameSpecifierLoc> NNSL = in TEST_F() local
222 EXPECT_FALSE(matches(Code, NNSL)); in TEST_F()
226 EXPECT_TRUE(matches(Code, NNSL)); in TEST_F()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp12332 NestedNameSpecifierLoc NNSL = Record.readNestedNameSpecifierLoc(); in VisitOMPReductionClause() local
12334 C->setQualifierLoc(NNSL); in VisitOMPReductionClause()
12379 NestedNameSpecifierLoc NNSL = Record.readNestedNameSpecifierLoc(); in VisitOMPTaskReductionClause() local
12381 C->setQualifierLoc(NNSL); in VisitOMPTaskReductionClause()
12412 NestedNameSpecifierLoc NNSL = Record.readNestedNameSpecifierLoc(); in VisitOMPInReductionClause() local
12414 C->setQualifierLoc(NNSL); in VisitOMPInReductionClause()
/external/llvm-project/clang/lib/Sema/
DSemaCodeComplete.cpp5003 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSL) { in TraverseNestedNameSpecifierLoc() argument
5004 if (NNSL) { in TraverseNestedNameSpecifierLoc()
5005 NestedNameSpecifier *NNS = NNSL.getNestedNameSpecifier(); in TraverseNestedNameSpecifierLoc()
5011 return RecursiveASTVisitor::TraverseNestedNameSpecifierLoc(NNSL); in TraverseNestedNameSpecifierLoc()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp2114 NestedNameSpecifierLoc NNSL = in VisitOMPReductionClause() local
2118 C->setQualifierLoc(NNSL); in VisitOMPReductionClause()