Home
last modified time | relevance | path

Searched refs:getLocalTopLevelDecls (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DParsedASTTests.cpp119 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()
DDiagnosticsTests.cpp532 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/
DParsedAST.h88 ArrayRef<Decl *> getLocalTopLevelDecls();
DHeaderSourceSwitch.cpp150 for (auto *TopLevel : AST.getLocalTopLevelDecls()) in getIndexableLocalDecls()
DFindSymbols.cpp241 for (auto &TopLevel : AST.getLocalTopLevelDecls()) in build()
DParsedAST.cpp484 llvm::ArrayRef<Decl *> ParsedAST::getLocalTopLevelDecls() { in getLocalTopLevelDecls() function in clang::clangd::ParsedAST
DXRefs.cpp824 AST.getLocalTopLevelDecls(), RefFinder, IndexOpts); in findRefs()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DRemoveUsingNamespace.cpp150 for (auto &D : Inputs.AST->getLocalTopLevelDecls()) { in apply()
DAddUsing.cpp200 auto TLDs = Inputs.AST->getLocalTopLevelDecls(); in findInsertionPoint()
/external/llvm-project/clang-tools-extra/clangd/index/
DFileIndex.cpp222 AST.getLocalTopLevelDecls(), &AST.getMacros(), AST.getCanonicalIncludes(), in indexMainDecls()
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.cpp305 for (Decl *TopLevelDecl : AST.getLocalTopLevelDecls()) { in findOccurrencesWithinFile()