clang
3.9.0
|
Represents the body of a coroutine. More...
#include <StmtCXX.h>
Public Member Functions | |
CoroutineBodyStmt (Stmt *Body, Stmt *Promise, Stmt *InitSuspend, Stmt *FinalSuspend, Stmt *OnException, Stmt *OnFallthrough, Expr *ReturnValue, ArrayRef< Expr * > ParamMoves) | |
Stmt * | getBody () const |
Retrieve the body of the coroutine as written. More... | |
Stmt * | getPromiseDeclStmt () const |
VarDecl * | getPromiseDecl () const |
Stmt * | getInitSuspendStmt () const |
Stmt * | getFinalSuspendStmt () const |
Stmt * | getExceptionHandler () const |
Stmt * | getFallthroughHandler () const |
Expr * | getReturnValueInit () const |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
Represents the body of a coroutine.
This wraps the normal function body and holds the additional semantic context required to set up and tear down the coroutine frame.
|
inline |
Retrieve the body of the coroutine as written.
This will be either a CompoundStmt or a TryStmt.
Definition at line 331 of file StmtCXX.h.
Referenced by getLocEnd(), and getLocStart().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 336 of file StmtCXX.h.
References getPromiseDeclStmt().
|
inline |
Definition at line 335 of file StmtCXX.h.
Referenced by getPromiseDecl().
|
inline |
|
friend |