Home
last modified time | relevance | path

Searched refs:DeclGroupRef (Results 1 – 25 of 119) sorted by relevance

12345

/external/llvm-project/clang/include/clang/AST/
DDeclGroup.h51 class DeclGroupRef {
63 DeclGroupRef() = default;
64 explicit DeclGroupRef(Decl* d) : D(d) {} in DeclGroupRef() function
65 explicit DeclGroupRef(DeclGroup* dg) in DeclGroupRef() function
68 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create()
70 return DeclGroupRef(); in Create()
72 return DeclGroupRef(Decls[0]); in Create()
73 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
88 return const_cast<DeclGroupRef*>(this)->getSingleDecl(); in getSingleDecl()
96 return const_cast<DeclGroupRef*>(this)->getDeclGroup(); in getDeclGroup()
[all …]
DASTConsumer.h21 class DeclGroupRef; variable
53 virtual bool HandleTopLevelDecl(DeclGroupRef D);
62 virtual void HandleInterestingDecl(DeclGroupRef D);
87 virtual void HandleTopLevelDeclInObjCContainer(DeclGroupRef D);
/external/clang/include/clang/AST/
DDeclGroup.h54 class DeclGroupRef {
65 DeclGroupRef() : D(nullptr) {} in DeclGroupRef() function
67 explicit DeclGroupRef(Decl* d) : D(d) {} in DeclGroupRef() function
68 explicit DeclGroupRef(DeclGroup* dg) in DeclGroupRef() function
71 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create()
73 return DeclGroupRef(); in Create()
75 return DeclGroupRef(Decls[0]); in Create()
76 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
91 return const_cast<DeclGroupRef*>(this)->getSingleDecl(); in getSingleDecl()
99 return const_cast<DeclGroupRef*>(this)->getDeclGroup(); in getDeclGroup()
[all …]
DASTConsumer.h24 class DeclGroupRef; variable
56 virtual bool HandleTopLevelDecl(DeclGroupRef D);
65 virtual void HandleInterestingDecl(DeclGroupRef D);
90 virtual void HandleTopLevelDeclInObjCContainer(DeclGroupRef D);
/external/clang/lib/AST/
DASTConsumer.cpp19 bool ASTConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
23 void ASTConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
27 void ASTConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) {} in HandleTopLevelDeclInObjCContainer()
30 HandleTopLevelDecl(DeclGroupRef(D)); in HandleImplicitImportDecl()
/external/llvm-project/clang/lib/AST/
DASTConsumer.cpp18 bool ASTConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
22 void ASTConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
26 void ASTConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) {} in HandleTopLevelDeclInObjCContainer()
29 HandleTopLevelDecl(DeclGroupRef(D)); in HandleImplicitImportDecl()
/external/llvm-project/clang/unittests/CodeGen/
DCodeGenExternalTest.cpp67 bool HandleTopLevelDecl(DeclGroupRef D) override;
69 void HandleInterestingDecl(DeclGroupRef D) override;
74 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
89 bool MyASTConsumer::HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
91 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in HandleTopLevelDecl()
102 void MyASTConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
124 void MyASTConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) { in HandleTopLevelDeclInObjCContainer()
/external/clang/include/clang/Frontend/
DMultiplexConsumer.h38 bool HandleTopLevelDecl(DeclGroupRef D) override;
40 void HandleInterestingDecl(DeclGroupRef D) override;
45 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
/external/llvm-project/clang/include/clang/Frontend/
DMultiplexConsumer.h58 bool HandleTopLevelDecl(DeclGroupRef D) override;
60 void HandleInterestingDecl(DeclGroupRef D) override;
65 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
DPrecompiledPreamble.h38 class DeclGroupRef; variable
291 virtual void HandleTopLevelDecl(DeclGroupRef DG);
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/
DModelConsumer.cpp31 bool ModelConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
32 for (DeclGroupRef::iterator I = D.begin(), E = D.end(); I != E; ++I) { in HandleTopLevelDecl()
DAnalysisConsumer.cpp221 bool HandleTopLevelDecl(DeclGroupRef D) override;
222 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
339 void storeTopLevelDecls(DeclGroupRef DG);
355 bool AnalysisConsumer::HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
360 void AnalysisConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) { in HandleTopLevelDeclInObjCContainer()
364 void AnalysisConsumer::storeTopLevelDecls(DeclGroupRef DG) { in storeTopLevelDecls()
365 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in storeTopLevelDecls()
/external/clang/lib/StaticAnalyzer/Frontend/
DModelConsumer.cpp32 bool ModelConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
33 for (DeclGroupRef::iterator I = D.begin(), E = D.end(); I != E; ++I) { in HandleTopLevelDecl()
DAnalysisConsumer.cpp301 bool HandleTopLevelDecl(DeclGroupRef D) override;
302 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
384 void storeTopLevelDecls(DeclGroupRef DG);
398 bool AnalysisConsumer::HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
403 void AnalysisConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) { in HandleTopLevelDeclInObjCContainer()
407 void AnalysisConsumer::storeTopLevelDecls(DeclGroupRef DG) { in storeTopLevelDecls()
408 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in storeTopLevelDecls()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DASTStructExtractor.cpp71 DeclGroupRef decl_group = curr_decl_stmt->getDeclGroup(); in ExtractFromFunctionDecl()
132 bool ASTStructExtractor::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
133 DeclGroupRef::iterator decl_iterator; in HandleTopLevelDecl()
DASTStructExtractor.h71 bool HandleTopLevelDecl(clang::DeclGroupRef D) override;
/external/clang/lib/Index/
DIndexingAction.cpp56 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
60 void HandleInterestingDecl(DeclGroupRef DG) override { in HandleInterestingDecl()
64 void HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) override { in HandleTopLevelDeclInObjCContainer()
DIndexingContext.h21 class DeclGroupRef; variable
104 bool indexDeclGroupRef(DeclGroupRef DG);
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp35 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
36 for (DeclGroupRef::iterator i = DG.begin(), e = DG.end(); i != e; ++i) { in HandleTopLevelDecl()
/external/llvm-project/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp34 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
35 for (DeclGroupRef::iterator i = DG.begin(), e = DG.end(); i != e; ++i) { in HandleTopLevelDecl()
/external/llvm-project/clang/lib/Index/
DIndexingContext.h22 class DeclGroupRef; variable
122 bool indexDeclGroupRef(DeclGroupRef DG);
DIndexingAction.cpp83 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
87 void HandleInterestingDecl(DeclGroupRef DG) override { in HandleInterestingDecl()
91 void HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) override { in HandleTopLevelDeclInObjCContainer()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/
DModelConsumer.h35 bool HandleTopLevelDecl(DeclGroupRef D) override;
/external/clang/include/clang/StaticAnalyzer/Frontend/
DModelConsumer.h36 bool HandleTopLevelDecl(DeclGroupRef D) override;
/external/llvm-project/clang/lib/Frontend/
DASTConsumers.cpp190 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl()
191 for (DeclGroupRef::iterator I = D.begin(), E = D.end(); I != E; ++I) in HandleTopLevelDecl()

12345