/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 262 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl() 655 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters() 656 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters() 722 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts() 723 Walker.VisitCapturedDecl(const_cast<CapturedDecl *>(CD)); in computeRegionCounts()
|
D | CGException.cpp | 431 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitStartEHSpec() 510 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitEndEHSpec()
|
/external/llvm-project/clang/test/AST/ |
D | finally-msvc.m | 12 // CHECK-NEXT: CapturedDecl
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 405 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl() 828 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters() 829 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters() 907 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts() 908 Walker.VisitCapturedDecl(const_cast<CapturedDecl *>(CD)); in computeRegionCounts()
|
D | CGException.cpp | 457 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitStartEHSpec() 546 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitEndEHSpec()
|
D | CGDecl.cpp | 219 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName() 296 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl() 1108 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 33 class CapturedDecl; variable 627 CapturedDecl *TheCapturedDecl; 638 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
|
/external/clang/include/clang/AST/ |
D | GlobalDecl.h | 45 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
|
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) { in castToDeclContext() 3707 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext() 3709 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 3710 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
D | Stmt.h | 37 class CapturedDecl; variable 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);
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ScopeInfo.h | 45 class CapturedDecl; variable 766 CapturedDecl *TheCapturedDecl; 783 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
|
/external/llvm-project/clang/lib/Sema/ |
D | UsedDeclVisitor.h | 92 if (auto *CD = dyn_cast<CapturedDecl>(D)) { in visitUsedDecl()
|
D | SemaStmt.cpp | 4332 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl() 4351 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl() 4401 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4405 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4431 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4435 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4515 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 1011 CapturedDecl *CD, in CapturedStmt() 1042 CapturedDecl *CD, in Create() 1084 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl() 1087 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl() 1092 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
|
D | Decl.cpp | 4057 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl 4061 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create() 4064 CapturedDecl(DC, NumParams); in Create() 4067 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized() 4070 CapturedDecl(nullptr, NumParams); in CreateDeserialized() 4073 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody() 4074 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody() 4076 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow() 4077 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
|
D | DeclBase.cpp | 846 } else if (CapturedDecl *CD = dyn_cast<CapturedDecl>(D)) { in getNonClosureContext()
|
/external/llvm-project/clang/lib/AST/ |
D | Stmt.cpp | 1309 CapturedDecl *CD, in CapturedStmt() 1340 CapturedDecl *CD, in Create() 1386 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl() 1390 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl() 1395 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
|
D | Decl.cpp | 4843 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl 4847 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create() 4850 CapturedDecl(DC, NumParams); in Create() 4853 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized() 4856 CapturedDecl(nullptr, NumParams); in CreateDeserialized() 4859 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody() 4860 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody() 4862 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow() 4863 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
|
/external/llvm-project/clang/include/clang/AST/ |
D | Decl.h | 4283 class CapturedDecl final 4286 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> { 4302 explicit CapturedDecl(DeclContext *DC, unsigned NumParams); 4317 static CapturedDecl *Create(ASTContext &C, DeclContext *DC, 4319 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID, 4370 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext() 4371 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext() 4373 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 4374 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
D | GlobalDecl.h | 84 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
|
D | Stmt.h | 48 class CapturedDecl; variable 3533 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind; 3540 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD); 3562 CapturedDecl *CD, RecordDecl *RD); 3572 CapturedDecl *getCapturedDecl(); 3573 const CapturedDecl *getCapturedDecl() const; 3576 void setCapturedDecl(CapturedDecl *D);
|
D | TextNodeDumper.h | 331 void VisitCapturedDecl(const CapturedDecl *D);
|
D | ASTNodeTraverser.h | 448 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 3829 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl() 3848 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl() 3885 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 3889 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 3912 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 3916 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 3984 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
|
D | Sema.cpp | 924 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC)) { in getFunctionLevelDeclContext() 1502 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
|