class DependentCoawaitExpr

Declaration

class DependentCoawaitExpr : public Expr { /* full declaration omitted */ };

Description

Represents a 'co_await' expression while the type of the promise is dependent.

Declared at: clang/include/clang/AST/ExprCXX.h:4821

Inherits from: Expr

Member Variables

private clang::SourceLocation KeywordLoc
private clang::Stmt* [2] SubExprs

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

DependentCoawaitExpr(
    clang::SourceLocation KeywordLoc,
    clang::QualType Ty,
    clang::Expr* Op,
    clang::UnresolvedLookupExpr* OpCoawait)

Declared at: clang/include/clang/AST/ExprCXX.h:4828

Parameters

clang::SourceLocation KeywordLoc
clang::QualType Ty
clang::Expr* Op
clang::UnresolvedLookupExpr* OpCoawait

DependentCoawaitExpr(
    clang::Stmt::EmptyShell Empty)

Declared at: clang/include/clang/AST/ExprCXX.h:4841

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/ExprCXX.h:4858

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/ExprCXX.h:4860

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/ExprCXX.h:4864

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:4852

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:4854

clang::SourceLocation getKeywordLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:4850

clang::Expr* getOperand() const

Declared at: clang/include/clang/AST/ExprCXX.h:4844

clang::UnresolvedLookupExpr*
getOperatorCoawaitLookup() const

Declared at: clang/include/clang/AST/ExprCXX.h:4846