Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A 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 …]
H A DASTConsumer.h21 class DeclGroupRef; variable
54 virtual bool HandleTopLevelDecl(DeclGroupRef D);
63 virtual void HandleInterestingDecl(DeclGroupRef D);
88 virtual void HandleTopLevelDeclInObjCContainer(DeclGroupRef D);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A 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()
H A DStmt.cpp1000 DeclStmt(DeclGroupRef(V), VarRange.getBegin(), VarRange.getEnd()); in setConditionVariable()
1049 SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
1118 DeclStmt(DeclGroupRef(V), VarRange.getBegin(), VarRange.getEnd()); in setConditionVariable()
1179 DeclStmt(DeclGroupRef(V), VarRange.getBegin(), VarRange.getEnd()); in setConditionVariable()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DMultiplexConsumer.h60 bool HandleTopLevelDecl(DeclGroupRef D) override;
62 void HandleInterestingDecl(DeclGroupRef D) override;
67 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
H A DPrecompiledPreamble.h38 class DeclGroupRef; variable
230 virtual void HandleTopLevelDecl(DeclGroupRef DG);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A 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()
H A DASTStructExtractor.h71 bool HandleTopLevelDecl(clang::DeclGroupRef D) override;
H A DASTResultSynthesizer.h74 bool HandleTopLevelDecl(clang::DeclGroupRef D) override;
H A DASTUtils.h158 bool HandleTopLevelDecl(clang::DeclGroupRef D) override { in HandleTopLevelDecl()
166 void HandleInterestingDecl(clang::DeclGroupRef D) override { in HandleInterestingDecl()
186 void HandleTopLevelDeclInObjCContainer(clang::DeclGroupRef D) override { in HandleTopLevelDeclInObjCContainer()
H A DASTResultSynthesizer.cpp101 bool ASTResultSynthesizer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
102 DeclGroupRef::iterator decl_iterator; in HandleTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp235 bool HandleTopLevelDecl(DeclGroupRef D) override;
236 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override;
353 void storeTopLevelDecls(DeclGroupRef DG);
368 bool AnalysisConsumer::HandleTopLevelDecl(DeclGroupRef DG) { in HandleTopLevelDecl()
373 void AnalysisConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) { in HandleTopLevelDeclInObjCContainer()
377 void AnalysisConsumer::storeTopLevelDecls(DeclGroupRef DG) { in storeTopLevelDecls()
H A DModelConsumer.cpp31 bool ModelConsumer::HandleTopLevelDecl(DeclGroupRef DeclGroup) { in HandleTopLevelDecl()
/freebsd/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp127 bool HandleTopLevelDecl(DeclGroupRef DR) override { in HandleTopLevelDecl()
128 for (DeclGroupRef::iterator b = DR.begin(), e = DR.end(); b != e; ++b) { in HandleTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp42 bool HandleTopLevelDecl(DeclGroupRef DGR) override final { in HandleTopLevelDecl()
61 void HandleInterestingDecl(DeclGroupRef D) override final { in HandleInterestingDecl()
73 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override final { in HandleTopLevelDeclInObjCContainer()
293 DeclGroupRef DGR(D); in ParseOrWrapTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendConsumer.h103 bool HandleTopLevelDecl(DeclGroupRef D) override;
105 void HandleInterestingDecl(DeclGroupRef D) override;
H A DModuleBuilder.cpp181 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
189 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) in HandleTopLevelDecl()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/
H A DModelConsumer.h35 bool HandleTopLevelDecl(DeclGroupRef D) override;
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp128 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
132 void HandleInterestingDecl(DeclGroupRef DG) override { in HandleInterestingDecl()
136 void HandleTopLevelDeclInObjCContainer(DeclGroupRef DG) override { in HandleTopLevelDeclInObjCContainer()
H A DIndexBody.cpp392 DeclGroupRef DG = S->getDeclGroup(); in VisitDeclStmt()
393 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in VisitDeclStmt()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp192 bool HandleTopLevelDecl(DeclGroupRef D) override { in HandleTopLevelDecl()
193 for (DeclGroupRef::iterator I = D.begin(), E = D.end(); I != E; ++I) in HandleTopLevelDecl()
H A DMultiplexConsumer.cpp303 bool MultiplexConsumer::HandleTopLevelDecl(DeclGroupRef D) { in HandleTopLevelDecl()
320 void MultiplexConsumer::HandleInterestingDecl(DeclGroupRef D) { in HandleInterestingDecl()
345 void MultiplexConsumer::HandleTopLevelDeclInObjCContainer(DeclGroupRef D) { in HandleTopLevelDeclInObjCContainer()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp28 DeclGroupRef Decls = DG.get(); in validateDeclsInsideHLSLBuffer()
31 for (DeclGroupRef::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { in validateDeclsInsideHLSLBuffer()
H A DParseAST.cpp182 Consumer->HandleTopLevelDecl(DeclGroupRef(D)); in ParseAST()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCodeCompletion.h42 using DeclGroupPtrTy = OpaquePtr<DeclGroupRef>;

123