Lines Matching refs:CoroutineBodyStmt

87 CoroutineBodyStmt *CoroutineBodyStmt::Create(  in Create()
88 const ASTContext &C, CoroutineBodyStmt::CtorArgs const &Args) { in Create()
90 CoroutineBodyStmt::FirstParamMove + Args.ParamMoves.size()); in Create()
92 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create()
93 return new (Mem) CoroutineBodyStmt(Args); in Create()
96 CoroutineBodyStmt *CoroutineBodyStmt::Create(const ASTContext &C, EmptyShell, in Create()
99 CoroutineBodyStmt::FirstParamMove + NumParams); in Create()
101 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create()
102 auto *Result = new (Mem) CoroutineBodyStmt(CtorArgs()); in Create()
110 CoroutineBodyStmt::CoroutineBodyStmt(CoroutineBodyStmt::CtorArgs const &Args) in CoroutineBodyStmt() function in CoroutineBodyStmt
113 SubStmts[CoroutineBodyStmt::Body] = Args.Body; in CoroutineBodyStmt()
114 SubStmts[CoroutineBodyStmt::Promise] = Args.Promise; in CoroutineBodyStmt()
115 SubStmts[CoroutineBodyStmt::InitSuspend] = Args.InitialSuspend; in CoroutineBodyStmt()
116 SubStmts[CoroutineBodyStmt::FinalSuspend] = Args.FinalSuspend; in CoroutineBodyStmt()
117 SubStmts[CoroutineBodyStmt::OnException] = Args.OnException; in CoroutineBodyStmt()
118 SubStmts[CoroutineBodyStmt::OnFallthrough] = Args.OnFallthrough; in CoroutineBodyStmt()
119 SubStmts[CoroutineBodyStmt::Allocate] = Args.Allocate; in CoroutineBodyStmt()
120 SubStmts[CoroutineBodyStmt::Deallocate] = Args.Deallocate; in CoroutineBodyStmt()
121 SubStmts[CoroutineBodyStmt::ResultDecl] = Args.ResultDecl; in CoroutineBodyStmt()
122 SubStmts[CoroutineBodyStmt::ReturnValue] = Args.ReturnValue; in CoroutineBodyStmt()
123 SubStmts[CoroutineBodyStmt::ReturnStmt] = Args.ReturnStmt; in CoroutineBodyStmt()
124 SubStmts[CoroutineBodyStmt::ReturnStmtOnAllocFailure] = in CoroutineBodyStmt()