Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DDeclGroup.h55 class DeclGroupRef {
66 DeclGroupRef() : D(nullptr) {} 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.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.cpp847 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
878 SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
905 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
939 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;
44 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
/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/lldb/source/Expression/
DASTStructExtractor.cpp83 DeclGroupRef decl_group = curr_decl_stmt->getDeclGroup(); in ExtractFromFunctionDecl()
149 ASTStructExtractor::HandleTopLevelDecl(DeclGroupRef D) in HandleTopLevelDecl()
151 DeclGroupRef::iterator decl_iterator; in HandleTopLevelDecl()
DASTResultSynthesizer.cpp111 ASTResultSynthesizer::HandleTopLevelDecl(DeclGroupRef D) in HandleTopLevelDecl()
113 DeclGroupRef::iterator decl_iterator; in HandleTopLevelDecl()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp301 bool HandleTopLevelDecl(DeclGroupRef D) override;
302 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
381 void storeTopLevelDecls(DeclGroupRef DG);
395 bool AnalysisConsumer::HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
400 void AnalysisConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) { in HandleTopLevelDeclInObjCContainer()
404 void AnalysisConsumer::storeTopLevelDecls(DeclGroupRef DG) { in storeTopLevelDecls()
405 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in storeTopLevelDecls()
/external/clang/lib/CodeGen/
DModuleBuilder.cpp89 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
94 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.cpp346 void IndexingContext::indexDeclGroupRef(DeclGroupRef DG) { in indexDeclGroupRef()
347 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) in indexDeclGroupRef()
353 DeclGroupRef DG = TUDeclsInObjCContainer.front(); in indexTUDeclsInObjCContainer()
DIndexingContext.h292 std::deque<DeclGroupRef> TUDeclsInObjCContainer;
447 void indexDeclGroupRef(DeclGroupRef DG);
449 void addTUDeclInObjCContainer(DeclGroupRef DG) { in addTUDeclInObjCContainer()
DIndexing.cpp323 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
330 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override { in HandleTopLevelDeclInObjCContainer()
338 void HandleInterestingDecl(DeclGroupRef D) override {} in HandleInterestingDecl()
/external/lldb/include/lldb/Expression/
DASTStructExtractor.h82 bool HandleTopLevelDecl(clang::DeclGroupRef D);
DASTResultSynthesizer.h74 bool HandleTopLevelDecl(clang::DeclGroupRef D);
/external/chromium_org/tools/clang/plugins/
DChromeClassTester.h24 virtual bool HandleTopLevelDecl(clang::DeclGroupRef group_ref);
DChromeClassTester.cpp51 bool ChromeClassTester::HandleTopLevelDecl(DeclGroupRef group_ref) { in HandleTopLevelDecl()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp222 bool MultiplexConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
239 void MultiplexConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
259 void MultiplexConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) { in HandleTopLevelDeclInObjCContainer()
DASTConsumers.cpp145 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl()
146 for (DeclGroupRef::iterator I = D.begin(), E = D.end(); I != E; ++I) in HandleTopLevelDecl()
DASTUnit.cpp867 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl()
868 for (DeclGroupRef::iterator it = D.begin(), ie = D.end(); it != ie; ++it) in HandleTopLevelDecl()
874 void HandleInterestingDecl(DeclGroupRef) override {} in HandleInterestingDecl() argument
876 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override { in HandleTopLevelDeclInObjCContainer()
877 for (DeclGroupRef::iterator it = D.begin(), ie = D.end(); it != ie; ++it) in HandleTopLevelDeclInObjCContainer()
945 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl()
946 for (DeclGroupRef::iterator it = D.begin(), ie = D.end(); it != ie; ++it) { in HandleTopLevelDecl()
/external/clang/unittests/Tooling/
DToolingTest.cpp51 virtual bool HandleTopLevelDecl(clang::DeclGroupRef DeclGroup) { in HandleTopLevelDecl()
72 virtual bool HandleTopLevelDecl(clang::DeclGroupRef GroupRef) { in HandleTopLevelDecl()
/external/clang/lib/Parse/
DParseAST.cpp152 Consumer->HandleTopLevelDecl(DeclGroupRef(*I)); in ParseAST()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp406 DeclGroupRef DGrp = S->getDeclGroup(); in translateDeclStmt()
407 for (DeclGroupRef::iterator I = DGrp.begin(), E = DGrp.end(); I != E; ++I) { in translateDeclStmt()

12