Home
last modified time | relevance | path

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

123

/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);
DStmt.h444 DeclGroupRef DG;
448 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, in DeclStmt()
464 const DeclGroupRef getDeclGroup() const { return DG; } in getDeclGroup()
465 DeclGroupRef getDeclGroup() { return DG; } in getDeclGroup()
466 void setDeclGroup(DeclGroupRef DGR) { DG = DGR; } in setDeclGroup()
486 typedef DeclGroupRef::iterator decl_iterator;
487 typedef DeclGroupRef::const_iterator const_decl_iterator;
/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()
DStmt.cpp793 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
824 SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
852 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
886 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
/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/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/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);
DIndexBody.cpp267 DeclGroupRef DG = S->getDeclGroup(); in VisitDeclStmt()
268 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in VisitDeclStmt()
DIndexDecl.cpp449 bool IndexingContext::indexDeclGroupRef(DeclGroupRef DG) { in indexDeclGroupRef()
450 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) in indexDeclGroupRef()
/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/clang/include/clang/StaticAnalyzer/Frontend/
DModelConsumer.h36 bool HandleTopLevelDecl(DeclGroupRef D) override;
/external/clang/lib/CodeGen/
DModuleBuilder.cpp140 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
147 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) in HandleTopLevelDecl()
DObjectFilePCHContainerOperations.cpp178 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl()
191 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override { in HandleTopLevelDeclInObjCContainer()
/external/clang/examples/AnnotateFunctions/
DAnnotateFunctions.cpp29 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp275 bool MultiplexConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
292 void MultiplexConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
317 void MultiplexConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) { in HandleTopLevelDeclInObjCContainer()
DASTMerge.cpp72 DeclGroupRef DGR(ToD); in ExecuteAction()
DASTConsumers.cpp153 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl()
154 for (DeclGroupRef::iterator I = D.begin(), E = D.end(); I != E; ++I) in HandleTopLevelDecl()
/external/bcc/src/cc/frontends/clang/
Dtp_frontend_action.h62 bool HandleTopLevelDecl(clang::DeclGroupRef Group) override;
Dtp_frontend_action.cc132 bool TracepointTypeConsumer::HandleTopLevelDecl(DeclGroupRef Group) { in HandleTopLevelDecl()
/external/clang/lib/Parse/
DParseAST.cpp165 Consumer->HandleTopLevelDecl(DeclGroupRef(D)); in ParseAST()
/external/clang/lib/Sema/
DSemaAttr.cpp184 Consumer.HandleTopLevelDecl(DeclGroupRef(PCD)); in ActOnPragmaMSComment()
192 Consumer.HandleTopLevelDecl(DeclGroupRef(PDMD)); in ActOnPragmaDetectMismatch()
/external/clang/unittests/Tooling/
DToolingTest.cpp55 bool HandleTopLevelDecl(clang::DeclGroupRef DeclGroup) override { in HandleTopLevelDecl()
78 bool HandleTopLevelDecl(clang::DeclGroupRef GroupRef) override { in HandleTopLevelDecl()

123