| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | finally-msvc.m | 12 // CHECK-NEXT: CapturedDecl
|
| H A D | ast-dump-stmt-json.m | 710 // CHECK-NEXT: "kind": "CapturedDecl",
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 420 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl() 857 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters() 858 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters() 936 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts() 937 Walker.VisitCapturedDecl(const_cast<CapturedDecl *>(CD)); in computeRegionCounts()
|
| H A D | CGException.cpp | 469 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitStartEHSpec() 576 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitEndEHSpec()
|
| H A D | CGDecl.cpp | 225 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName() 302 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl() 1127 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
|
| H A D | CGStmtOpenMP.cpp | 431 const CapturedDecl *CD = FO.S->getCapturedDecl(); in emitOutlinedFunctionPrologue() 614 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction() 4905 QualType Ty, CapturedDecl *CD, in createImplicitFirstprivateForType() 4975 auto *CD = CapturedDecl::Create( in EmitOMPTargetTaskBasedDirective()
|
| H A D | CGStmt.cpp | 2855 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 45 class CapturedDecl; variable 782 CapturedDecl *TheCapturedDecl; 799 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | UsedDeclVisitor.h | 93 if (auto *CD = dyn_cast<CapturedDecl>(D)) { in visitUsedDecl()
|
| H A D | SemaStmt.cpp | 4643 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl() 4662 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl() 4712 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4716 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4742 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4746 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4826 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
|
| H A D | SemaLambda.cpp | 325 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext() 452 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in handleLambdaNumbering()
|
| H A D | Sema.cpp | 1424 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC) || in getFunctionLevelDeclContext() 2628 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | GlobalDecl.h | 85 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
|
| H A D | Decl.h | 4408 class CapturedDecl final 4411 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> { 4427 explicit CapturedDecl(DeclContext *DC, unsigned NumParams); 4442 static CapturedDecl *Create(ASTContext &C, DeclContext *DC, 4444 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID, 4495 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext() 4496 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext() 4498 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 4499 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
| H A D | Stmt.h | 50 class CapturedDecl; variable 3598 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind; 3605 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD); 3627 CapturedDecl *CD, RecordDecl *RD); 3637 CapturedDecl *getCapturedDecl(); 3638 const CapturedDecl *getCapturedDecl() const; 3641 void setCapturedDecl(CapturedDecl *D);
|
| H A D | TextNodeDumper.h | 338 void VisitCapturedDecl(const CapturedDecl *D);
|
| H A D | ASTNodeTraverser.h | 482 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl()
|
| H A D | RecursiveASTVisitor.h | 1491 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child)) 1547 DEF_TRAVERSE_DECL(CapturedDecl, {
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Stmt.cpp | 1322 CapturedDecl *CD, in CapturedStmt() 1353 CapturedDecl *CD, in Create() 1399 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl() 1403 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl() 1408 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
|
| H A D | Decl.cpp | 5018 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl 5022 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5025 CapturedDecl(DC, NumParams); in Create() 5028 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized() 5031 CapturedDecl(nullptr, NumParams); in CreateDeserialized() 5034 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody() 5035 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody() 5037 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow() 5038 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
|
| H A D | DeclBase.cpp | 1051 if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
|
| H A D | TextNodeDumper.cpp | 1812 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
|
| H A D | Expr.cpp | 834 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 408 void VisitCapturedDecl(CapturedDecl *CD); 1676 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl() 3795 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 131 void VisitCapturedDecl(CapturedDecl *D); 1213 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
|