Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DDeclGroup.h55 class DeclGroupRef {
66 DeclGroupRef() : D(0) {} in DeclGroupRef() function
68 explicit DeclGroupRef(Decl* d) : D(d) {} in DeclGroupRef() function
69 explicit DeclGroupRef(DeclGroup* dg) in DeclGroupRef() function
72 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create()
74 return DeclGroupRef(); in Create()
76 return DeclGroupRef(Decls[0]); in Create()
77 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
92 return const_cast<DeclGroupRef*>(this)->getSingleDecl(); in getSingleDecl()
100 return const_cast<DeclGroupRef*>(this)->getDeclGroup(); in getDeclGroup()
[all …]
DASTConsumer.h23 class DeclGroupRef; variable
58 virtual bool HandleTopLevelDecl(DeclGroupRef D);
63 virtual void HandleInterestingDecl(DeclGroupRef D);
88 virtual void HandleTopLevelDeclInObjCContainer(DeclGroupRef D);
DStmt.h442 DeclGroupRef DG;
446 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, in DeclStmt()
462 const DeclGroupRef getDeclGroup() const { return DG; } in getDeclGroup()
463 DeclGroupRef getDeclGroup() { return DG; } in getDeclGroup()
464 void setDeclGroup(DeclGroupRef DGR) { DG = DGR; } in setDeclGroup()
484 typedef DeclGroupRef::iterator decl_iterator;
485 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.cpp849 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
880 SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
907 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
941 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
/external/clang/include/clang/Frontend/
DMultiplexConsumer.h38 virtual bool HandleTopLevelDecl(DeclGroupRef D);
39 virtual void HandleInterestingDecl(DeclGroupRef D);
43 virtual void HandleTopLevelDeclInObjCContainer(DeclGroupRef D);
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp26 virtual bool HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
27 for (DeclGroupRef::iterator i = DG.begin(), e = DG.end(); i != e; ++i) { in HandleTopLevelDecl()
/external/chromium_org/ppapi/tests/clang/
Dprint_names_and_sizes.cc116 virtual void HandleTopLevelDecl(clang::DeclGroupRef decl_group) { in HandleTopLevelDecl()
117 clang::DeclGroupRef::iterator iter(decl_group.begin()); in HandleTopLevelDecl()
118 clang::DeclGroupRef::iterator the_end(decl_group.end()); in HandleTopLevelDecl()
Dfind_affected_interfaces.cc92 virtual void HandleTopLevelDecl(clang::DeclGroupRef decl_group) { in HandleTopLevelDecl()
93 clang::DeclGroupRef::iterator iter(decl_group.begin()); in HandleTopLevelDecl()
94 clang::DeclGroupRef::iterator the_end(decl_group.end()); in HandleTopLevelDecl()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp282 virtual bool HandleTopLevelDecl(DeclGroupRef D);
283 virtual void HandleTopLevelDeclInObjCContainer(DeclGroupRef D);
357 void storeTopLevelDecls(DeclGroupRef DG);
371 bool AnalysisConsumer::HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
376 void AnalysisConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) { in HandleTopLevelDeclInObjCContainer()
380 void AnalysisConsumer::storeTopLevelDecls(DeclGroupRef DG) { in storeTopLevelDecls()
381 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in storeTopLevelDecls()
/external/clang/lib/CodeGen/
DModuleBuilder.cpp69 virtual bool HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
71 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) in HandleTopLevelDecl()
/external/clang/tools/libclang/
DIndexBody.cpp140 DeclGroupRef DG = S->getDeclGroup(); in VisitDeclStmt()
141 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in VisitDeclStmt()
DIndexDecl.cpp360 void IndexingContext::indexDeclGroupRef(DeclGroupRef DG) { in indexDeclGroupRef()
361 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) in indexDeclGroupRef()
367 DeclGroupRef DG = TUDeclsInObjCContainer.front(); in indexTUDeclsInObjCContainer()
DIndexingContext.h299 std::deque<DeclGroupRef> TUDeclsInObjCContainer;
454 void indexDeclGroupRef(DeclGroupRef DG);
456 void addTUDeclInObjCContainer(DeclGroupRef DG) { in addTUDeclInObjCContainer()
DIndexing.cpp330 virtual bool HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
337 virtual void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) { in HandleTopLevelDeclInObjCContainer()
345 virtual void HandleInterestingDecl(DeclGroupRef D) {} in HandleInterestingDecl()
/external/clang/unittests/Tooling/
DToolingTest.cpp48 virtual bool HandleTopLevelDecl(clang::DeclGroupRef DeclGroup) { in HandleTopLevelDecl()
74 virtual bool HandleTopLevelDecl(clang::DeclGroupRef GroupRef) { in HandleTopLevelDecl()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp218 bool MultiplexConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
230 void MultiplexConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
250 void MultiplexConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) { in HandleTopLevelDeclInObjCContainer()
DASTConsumers.cpp145 virtual bool HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
146 for (DeclGroupRef::iterator I = D.begin(), E = D.end(); I != E; ++I) in HandleTopLevelDecl()
DASTUnit.cpp933 bool HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
934 for (DeclGroupRef::iterator it = D.begin(), ie = D.end(); it != ie; ++it) in HandleTopLevelDecl()
940 void HandleInterestingDecl(DeclGroupRef) {} in HandleInterestingDecl() argument
942 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) { in HandleTopLevelDeclInObjCContainer()
943 for (DeclGroupRef::iterator it = D.begin(), ie = D.end(); it != ie; ++it) in HandleTopLevelDeclInObjCContainer()
1011 virtual bool HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
1012 for (DeclGroupRef::iterator it = D.begin(), ie = D.end(); it != ie; ++it) { in HandleTopLevelDecl()
/external/chromium_org/tools/clang/plugins/
DChromeClassTester.h25 virtual bool HandleTopLevelDecl(clang::DeclGroupRef group_ref);
DChromeClassTester.cpp53 bool ChromeClassTester::HandleTopLevelDecl(DeclGroupRef group_ref) { in HandleTopLevelDecl()
/external/clang/docs/
DClangPlugins.rst67 virtual bool HandleTopLevelDecl(DeclGroupRef DG) {
68 for (DeclGroupRef::iterator i = DG.begin(), e = DG.end(); i != e; ++i) {
/external/clang/lib/Parse/
DParseAST.cpp151 Consumer->HandleTopLevelDecl(DeclGroupRef(*I)); in ParseAST()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp86 virtual bool HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
87 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) in HandleTopLevelDecl()
91 virtual void HandleInterestingDecl(DeclGroupRef DG) { in HandleInterestingDecl()
94 virtual void HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) { in HandleTopLevelDeclInObjCContainer()
/external/clang/lib/Sema/
DSemaOpenMP.cpp148 return DeclGroupPtrTy::make(DeclGroupRef(D)); in ActOnOpenMPThreadprivateDirective()

12