/external/llvm-project/clang-tools-extra/clangd/ |
D | ParsedAST.cpp | 72 DeclTrackingASTConsumer(std::vector<Decl *> &TopLevelDecls) in DeclTrackingASTConsumer() argument 73 : TopLevelDecls(TopLevelDecls) {} in DeclTrackingASTConsumer() 88 TopLevelDecls.push_back(D); in HandleTopLevelDecl() 94 std::vector<Decl *> &TopLevelDecls; member in clang::clangd::__anon3ba0ddf90111::DeclTrackingASTConsumer 99 std::vector<Decl *> takeTopLevelDecls() { return std::move(TopLevelDecls); } in takeTopLevelDecls() 104 return std::make_unique<DeclTrackingASTConsumer>(/*ref*/ TopLevelDecls); in CreateASTConsumer() 108 std::vector<Decl *> TopLevelDecls; member in clang::clangd::__anon3ba0ddf90111::ClangdFrontendAction
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | ASTUnit.h | 171 std::vector<Decl*> TopLevelDecls; variable 506 return TopLevelDecls.begin(); in top_level_begin() 513 return TopLevelDecls.end(); in top_level_end() 518 return TopLevelDeclsInPreamble.size() + TopLevelDecls.size(); in top_level_size() 523 return TopLevelDeclsInPreamble.empty() && TopLevelDecls.empty(); in top_level_empty() 528 TopLevelDecls.push_back(D); in addTopLevelDecl()
|
/external/clang/include/clang/Frontend/ |
D | ASTUnit.h | 145 std::vector<Decl*> TopLevelDecls; variable 558 return TopLevelDecls.begin(); in top_level_begin() 565 return TopLevelDecls.end(); in top_level_end() 570 return TopLevelDeclsInPreamble.size() + TopLevelDecls.size(); in top_level_size() 575 return TopLevelDeclsInPreamble.empty() && TopLevelDecls.empty(); in top_level_empty() 580 TopLevelDecls.push_back(D); in addTopLevelDecl()
|
/external/llvm-project/clang/lib/Frontend/ |
D | ASTUnit.cpp | 1024 std::vector<Decl *> takeTopLevelDecls() { return std::move(TopLevelDecls); } in takeTopLevelDecls() 1031 TopLevelDeclIDs.reserve(TopLevelDecls.size()); in AfterPCHEmitted() 1032 for (const auto *D : TopLevelDecls) { in AfterPCHEmitted() 1049 TopLevelDecls.push_back(D); in HandleTopLevelDecl() 1059 std::vector<Decl *> TopLevelDecls; member in __anon8e7ac3c80411::ASTUnitPreambleCallbacks 1409 TopLevelDecls.clear(); in getMainBufferWithPrecompiledPreamble() 1443 TopLevelDecls.insert(TopLevelDecls.begin(), Resolved.begin(), Resolved.end()); in RealizeTopLevelDeclsFromPreamble() 1893 TopLevelDecls.clear(); in ResetForParse()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 921 std::vector<Decl *> TopLevelDecls; member in __anon2e64129a0311::PrecompilePreambleConsumer 946 TopLevelDecls.push_back(D); in HandleTopLevelDecl() 966 for (Decl *D : TopLevelDecls) { in HandleTranslationUnit() 1093 TopLevelDecls.clear(); in Parse() 1557 TopLevelDecls.clear(); in getMainBufferWithPrecompiledPreamble() 1660 TopLevelDecls.insert(TopLevelDecls.begin(), Resolved.begin(), Resolved.end()); in RealizeTopLevelDeclsFromPreamble()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ParsedASTTests.cpp | 108 TEST(ParsedASTTest, TopLevelDecls) { in TEST() argument
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 8312 TopLevelDeclsMap TopLevelDecls; in finishPendingActions() local 8320 SetGloballyVisibleDecls(II, DeclIDs, &TopLevelDecls[II]); in finishPendingActions() 8336 for (TopLevelDeclsMap::iterator TLD = TopLevelDecls.begin(), in finishPendingActions() 8337 TLDEnd = TopLevelDecls.end(); TLD != TLDEnd; ++TLD) { in finishPendingActions()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReader.cpp | 9304 TopLevelDeclsMap TopLevelDecls; in finishPendingActions() local 9312 SetGloballyVisibleDecls(II, DeclIDs, &TopLevelDecls[II]); in finishPendingActions() 9344 for (TopLevelDeclsMap::iterator TLD = TopLevelDecls.begin(), in finishPendingActions() 9345 TLDEnd = TopLevelDecls.end(); TLD != TLDEnd; ++TLD) { in finishPendingActions()
|
/external/llvm-project/clang/lib/AST/ |
D | ASTContext.cpp | 1010 void ASTContext::setTraversalScope(const std::vector<Decl *> &TopLevelDecls) { in setTraversalScope() argument 1011 TraversalScope = TopLevelDecls; in setTraversalScope()
|