Home
last modified time | relevance | path

Searched refs:CoroutineSuspends (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScopeInfo.h215 std::pair<Stmt *, Stmt *> CoroutineSuspends; variable
509 assert((!value || CoroutineSuspends.first == nullptr) &&
515 return !NeedsCoroutineSuspends && CoroutineSuspends.first == nullptr; in hasInvalidCoroutineSuspends()
520 assert(CoroutineSuspends.first == nullptr && "suspend points already set"); in setCoroutineSuspends()
522 CoroutineSuspends.first = Initial; in setCoroutineSuspends()
523 CoroutineSuspends.second = Final; in setCoroutineSuspends()
/llvm-project-15.0.7/clang/lib/Sema/
H A DScopeInfo.cpp48 CoroutineSuspends.first = nullptr; in Clear()
49 CoroutineSuspends.second = nullptr; in Clear()
H A DSemaCoroutine.cpp1167 this->InitialSuspend = cast<Expr>(Fn.CoroutineSuspends.first); in makeInitialAndFinalSuspend()
1168 this->FinalSuspend = cast<Expr>(Fn.CoroutineSuspends.second); in makeInitialAndFinalSuspend()
H A DTreeTransform.h7841 ScopeInfo->CoroutineSuspends.first == nullptr && in TransformCoroutineBodyStmt()
7842 ScopeInfo->CoroutineSuspends.second == nullptr && in TransformCoroutineBodyStmt()