/external/clang/include/clang/AST/ |
H A D | GlobalDecl.h | 45 GlobalDecl(const CapturedDecl *D) { Init(D); }
|
H A D | Decl.h | 3625 class CapturedDecl final 3628 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> { 3642 explicit CapturedDecl(DeclContext *DC, unsigned NumParams); 3653 static CapturedDecl *Create(ASTContext &C, DeclContext *DC, 3655 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID, 3706 static DeclContext *castToDeclContext(const CapturedDecl *D) { 3707 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); 3709 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { 3710 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC));
|
H A D | Stmt.h | 37 class CapturedDecl; 2073 llvm::PointerIntPair<CapturedDecl *, 1, CapturedRegionKind> CapDeclAndKind; 2080 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD); 2100 CapturedDecl *CD, RecordDecl *RD); 2110 CapturedDecl *getCapturedDecl(); 2111 const CapturedDecl *getCapturedDecl() const; 2114 void setCapturedDecl(CapturedDecl *D);
|
H A D | RecursiveASTVisitor.h | 1303 if (!isa<BlockDecl>(Child) && !isa<CapturedDecl>(Child)) 1340 DEF_TRAVERSE_DECL(CapturedDecl, {
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 262 void VisitCapturedDecl(const CapturedDecl *D) { 655 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) 656 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); 722 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) 723 Walker.VisitCapturedDecl(const_cast<CapturedDecl *>(CD));
|
H A D | CGException.cpp | 430 // Check if CapturedDecl is nothrow and create terminate scope for it. 431 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { 509 // Check if CapturedDecl is nothrow and pop terminate scope for it. 510 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) {
|
H A D | CGDecl.cpp | 171 if (auto *CD = dyn_cast<CapturedDecl>(DC)) 254 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) {
|
H A D | CGStmt.cpp | 2180 // Emit the CapturedDecl 2202 const CapturedDecl *CD = S.getCapturedDecl(); 2205 assert(CD->hasBody() && "missing CapturedDecl body");
|
H A D | CGStmtOpenMP.cpp | 202 const CapturedDecl *CD = S.getCapturedDecl(); 204 assert(CD->hasBody() && "missing CapturedDecl body");
|
/external/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 33 class CapturedDecl; 626 /// \brief The CapturedDecl for this statement. 627 CapturedDecl *TheCapturedDecl; 638 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD,
|
H A D | Sema.h | 76 class CapturedDecl; 1179 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD, 3476 RecordDecl *CreateCapturedStmtRecordDecl(CapturedDecl *&CD,
|
/external/clang/lib/AST/ |
H A D | Stmt.cpp | 1011 CapturedDecl *CD, 1042 CapturedDecl *CD, 1084 CapturedDecl *CapturedStmt::getCapturedDecl() { 1087 const CapturedDecl *CapturedStmt::getCapturedDecl() const { 1092 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { 1093 assert(D && "null CapturedDecl");
|
H A D | Decl.cpp | 4057 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) function in class:CapturedDecl 4061 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, 4064 CapturedDecl(DC, NumParams); 4067 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, 4070 CapturedDecl(nullptr, NumParams); 4073 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } 4074 void CapturedDecl [all...] |
H A D | DeclBase.cpp | 846 } else if (CapturedDecl *CD = dyn_cast<CapturedDecl>(D)) {
|
H A D | ASTDumper.cpp | 435 void VisitCapturedDecl(const CapturedDecl *D); 1248 void ASTDumper::VisitCapturedDecl(const CapturedDecl *D) {
|
H A D | Expr.cpp | 653 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { 656 // CapturedDecl. 661 llvm_unreachable("CapturedDecl not inside a function or method");
|
H A D | MicrosoftMangle.cpp | 93 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) {
|
H A D | ItaniumMangle.cpp | 70 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) {
|
/external/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 3829 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, 3848 CD = CapturedDecl::Create(Context, CurContext, NumParams); 3885 CapturedDecl *CD = nullptr; 3889 DeclContext *DC = CapturedDecl::castToDeclContext(CD); 3912 CapturedDecl *CD = nullptr; 3916 DeclContext *DC = CapturedDecl::castToDeclContext(CD); 3984 CapturedDecl *CD = RSI->TheCapturedDecl;
|
H A D | Sema.cpp | 924 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC)) { 1502 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD,
|
H A D | SemaDecl.cpp | 4838 while (isa<LinkageSpecDecl>(Cur) || isa<CapturedDecl>(Cur))
|
H A D | SemaExpr.cpp | 13214 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC) || isLambdaCallOperator(DC))
|
/external/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 119 void VisitCapturedDecl(CapturedDecl *D); 1048 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) {
|
H A D | ASTReaderDecl.cpp | 336 void VisitCapturedDecl(CapturedDecl *CD); 1335 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { 3407 D = CapturedDecl::CreateDeserialized(Context, ID, Record[Idx++]);
|
H A D | ASTReaderStmt.cpp | 411 S->setCapturedDecl(ReadDeclAs<CapturedDecl>(Record, Idx));
|