Searched refs:FinalSuspend (Results 1 – 5 of 5) sorted by relevance
116 SubStmts[CoroutineBodyStmt::FinalSuspend] = Args.FinalSuspend; in CoroutineBodyStmt()
325 FinalSuspend, ///< The final suspend statement, run after the body. enumerator352 Expr *FinalSuspend = nullptr; member395 return getStoredStmts()[SubStmt::FinalSuspend]; in getFinalSuspendStmt()
757 bool Sema::checkFinalSuspendNoThrow(const Stmt *FinalSuspend) { in checkFinalSuspendNoThrow() argument763 checkNoThrow(*this, FinalSuspend, ThrowingDecls); in checkFinalSuspendNoThrow()820 StmtResult FinalSuspend = buildSuspends("final_suspend"); in ActOnCoroutineBodyStart() local821 if (FinalSuspend.isInvalid() || !checkFinalSuspendNoThrow(FinalSuspend.get())) in ActOnCoroutineBodyStart()824 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get()); in ActOnCoroutineBodyStart()1301 this->FinalSuspend = cast<Expr>(Fn.CoroutineSuspends.second); in makeInitialAndFinalSuspend()
8130 StmtResult FinalSuspend = in TransformCoroutineBodyStmt() local8132 if (FinalSuspend.isInvalid() || in TransformCoroutineBodyStmt()8133 !SemaRef.checkFinalSuspendNoThrow(FinalSuspend.get())) in TransformCoroutineBodyStmt()8135 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get()); in TransformCoroutineBodyStmt()8136 assert(isa<Expr>(InitSuspend.get()) && isa<Expr>(FinalSuspend.get())); in TransformCoroutineBodyStmt()
11270 bool checkFinalSuspendNoThrow(const Stmt *FinalSuspend);