Home
last modified time | relevance | path

Searched refs:TopLevelDecls (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DParsedAST.cpp72 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/
DASTUnit.h171 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/
DASTUnit.h145 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/
DASTUnit.cpp1024 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/
DASTUnit.cpp921 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/
DParsedASTTests.cpp108 TEST(ParsedASTTest, TopLevelDecls) { in TEST() argument
/external/clang/lib/Serialization/
DASTReader.cpp8312 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/
DASTReader.cpp9304 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/
DASTContext.cpp1010 void ASTContext::setTraversalScope(const std::vector<Decl *> &TopLevelDecls) { in setTraversalScope() argument
1011 TraversalScope = TopLevelDecls; in setTraversalScope()