Searched refs:getLocalTopLevelDecls (Results 1 – 11 of 11) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ParsedASTTests.cpp | 119 EXPECT_THAT(AST.getLocalTopLevelDecls(), in TEST() 142 EXPECT_THAT(AST.getLocalTopLevelDecls(), ElementsAre(DeclNamed("main"))); in TEST() 156 EXPECT_THAT(AST.getLocalTopLevelDecls(), in TEST() 193 AST.getLocalTopLevelDecls(), in TEST()
|
D | DiagnosticsTests.cpp | 532 EXPECT_THAT(TU.build().getLocalTopLevelDecls(), SizeIs(1)); in TEST() 544 EXPECT_THAT(TU.build().getLocalTopLevelDecls(), SizeIs(1)); in TEST() 561 EXPECT_THAT(TU.build().getLocalTopLevelDecls(), SizeIs(1)); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | ParsedAST.h | 88 ArrayRef<Decl *> getLocalTopLevelDecls();
|
D | HeaderSourceSwitch.cpp | 150 for (auto *TopLevel : AST.getLocalTopLevelDecls()) in getIndexableLocalDecls()
|
D | FindSymbols.cpp | 241 for (auto &TopLevel : AST.getLocalTopLevelDecls()) in build()
|
D | ParsedAST.cpp | 484 llvm::ArrayRef<Decl *> ParsedAST::getLocalTopLevelDecls() { in getLocalTopLevelDecls() function in clang::clangd::ParsedAST
|
D | XRefs.cpp | 824 AST.getLocalTopLevelDecls(), RefFinder, IndexOpts); in findRefs()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | RemoveUsingNamespace.cpp | 150 for (auto &D : Inputs.AST->getLocalTopLevelDecls()) { in apply()
|
D | AddUsing.cpp | 200 auto TLDs = Inputs.AST->getLocalTopLevelDecls(); in findInsertionPoint()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | FileIndex.cpp | 222 AST.getLocalTopLevelDecls(), &AST.getMacros(), AST.getCanonicalIncludes(), in indexMainDecls()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/ |
D | Rename.cpp | 305 for (Decl *TopLevelDecl : AST.getLocalTopLevelDecls()) { in findOccurrencesWithinFile()
|