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.h432 DeclGroupRef DG;
436 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, in DeclStmt()
452 const DeclGroupRef getDeclGroup() const { return DG; } in getDeclGroup()
453 DeclGroupRef getDeclGroup() { return DG; } in getDeclGroup()
454 void setDeclGroup(DeclGroupRef DGR) { DG = DGR; } in setDeclGroup()
474 typedef DeclGroupRef::iterator decl_iterator;
475 typedef DeclGroupRef::const_iterator const_decl_iterator;
/external/clang/lib/AST/
DASTConsumer.cpp20 bool ASTConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
24 void ASTConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
28 void ASTConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) {} in HandleTopLevelDeclInObjCContainer()
31 HandleTopLevelDecl(DeclGroupRef(D)); in HandleImplicitImportDecl()
DStmt.cpp784 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
815 SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
841 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
875 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.cpp302 bool HandleTopLevelDecl(DeclGroupRef D) override;
303 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
385 void storeTopLevelDecls(DeclGroupRef DG);
399 bool AnalysisConsumer::HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
404 void AnalysisConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) { in HandleTopLevelDeclInObjCContainer()
408 void AnalysisConsumer::storeTopLevelDecls(DeclGroupRef DG) { in storeTopLevelDecls()
409 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in storeTopLevelDecls()
/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/tools/libclang/
DIndexBody.cpp141 DeclGroupRef DG = S->getDeclGroup(); in VisitDeclStmt()
142 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.h295 std::deque<DeclGroupRef> TUDeclsInObjCContainer;
450 void indexDeclGroupRef(DeclGroupRef DG);
452 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/clang/include/clang/StaticAnalyzer/Frontend/
DModelConsumer.h36 bool HandleTopLevelDecl(DeclGroupRef D) override;
/external/clang/lib/CodeGen/
DModuleBuilder.cpp117 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
124 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) in HandleTopLevelDecl()
DObjectFilePCHContainerOperations.cpp161 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl()
174 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override { in HandleTopLevelDeclInObjCContainer()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp262 bool MultiplexConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
279 void MultiplexConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
304 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()
DASTUnit.cpp854 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl()
861 void HandleInterestingDecl(DeclGroupRef) override {} in HandleInterestingDecl() argument
863 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override { in HandleTopLevelDeclInObjCContainer()
937 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
/external/clang/lib/Parse/
DParseAST.cpp166 Consumer->HandleTopLevelDecl(DeclGroupRef(D)); in ParseAST()
DParseDeclCXX.cpp2309 return DeclGroupPtrTy::make(DeclGroupRef(Actions.ActOnUsingDeclaration( in ParseCXXClassMemberDeclaration()
2323 DeclGroupRef(ParseStaticAssertDeclaration(DeclEnd))); in ParseCXXClassMemberDeclaration()
2331 DeclGroupRef(ParseDeclarationStartingWithTemplate( in ParseCXXClassMemberDeclaration()
2368 return DeclGroupPtrTy::make(DeclGroupRef(ParseUsingDeclaration( in ParseCXXClassMemberDeclaration()
2408 return DeclGroupPtrTy::make(DeclGroupRef(TheDecl)); in ParseCXXClassMemberDeclaration()
2527 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl)); in ParseCXXClassMemberDeclaration()
/external/clang/unittests/Tooling/
DToolingTest.cpp55 bool HandleTopLevelDecl(clang::DeclGroupRef DeclGroup) override { in HandleTopLevelDecl()
78 bool HandleTopLevelDecl(clang::DeclGroupRef GroupRef) override { in HandleTopLevelDecl()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp134 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
135 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) in HandleTopLevelDecl()
139 void HandleInterestingDecl(DeclGroupRef DG) override { in HandleInterestingDecl()
142 void HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) override { in HandleTopLevelDeclInObjCContainer()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp588 DeclGroupRef DGrp = S->getDeclGroup(); in translateDeclStmt()
589 for (DeclGroupRef::iterator I = DGrp.begin(), E = DGrp.end(); I != E; ++I) { in translateDeclStmt()

12