enum CoroutineBodyStmt::SubStmt
Declared at: clang/include/clang/AST/StmtCXX.h:320
Enumerators
Name | Value | Comment |
---|---|---|
Body | 0 | The body of the coroutine. |
Promise | 1 | The promise statement. |
InitSuspend | 2 | The initial suspend statement, run before the body. |
FinalSuspend | 3 | The final suspend statement, run after the body. |
OnException | 4 | Handler for exceptions thrown in the body. |
OnFallthrough | 5 | Handler for control flow falling off the body. |
Allocate | 6 | Coroutine frame memory allocation. |
Deallocate | 7 | Coroutine frame memory deallocation. |
ReturnValue | 8 | Return value for thunk function: p.get_return_object(). |
ReturnStmt | 9 | Return statement for the thunk function. |
ReturnStmtOnAllocFailure | 10 | Return statement if allocation failed. |
FirstParamMove | 11 | First offset for move construction of parameter copies. |