Searched refs:FinalSuspend (Results 1 – 5 of 5) sorted by relevance
115 SubStmts[CoroutineBodyStmt::FinalSuspend] = Args.FinalSuspend; in CoroutineBodyStmt()
324 FinalSuspend, ///< The final suspend statement, run after the body. enumerator350 Expr *FinalSuspend = nullptr; member391 return getStoredStmts()[SubStmt::FinalSuspend]; in getFinalSuspendStmt()
672 bool Sema::checkFinalSuspendNoThrow(const Stmt *FinalSuspend) { in checkFinalSuspendNoThrow() argument678 checkNoThrow(*this, FinalSuspend, ThrowingDecls); in checkFinalSuspendNoThrow()732 StmtResult FinalSuspend = buildSuspends("final_suspend"); in ActOnCoroutineBodyStart() local733 if (FinalSuspend.isInvalid() || !checkFinalSuspendNoThrow(FinalSuspend.get())) in ActOnCoroutineBodyStart()736 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get()); in ActOnCoroutineBodyStart()1168 this->FinalSuspend = cast<Expr>(Fn.CoroutineSuspends.second); in makeInitialAndFinalSuspend()
7869 StmtResult FinalSuspend = in TransformCoroutineBodyStmt() local7871 if (FinalSuspend.isInvalid() || in TransformCoroutineBodyStmt()7872 !SemaRef.checkFinalSuspendNoThrow(FinalSuspend.get())) in TransformCoroutineBodyStmt()7874 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get()); in TransformCoroutineBodyStmt()7875 assert(isa<Expr>(InitSuspend.get()) && isa<Expr>(FinalSuspend.get())); in TransformCoroutineBodyStmt()
10585 bool checkFinalSuspendNoThrow(const Stmt *FinalSuspend);