clang  14.0.0git
Public Member Functions | Public Attributes | List of all members
clang::BlockVarCopyInit Struct Reference

Copy initialization expr of a __block variable and a boolean flag that indicates whether the expression can throw. More...

#include "clang/AST/Expr.h"

Collaboration diagram for clang::BlockVarCopyInit:
Collaboration graph
[legend]

Public Member Functions

 BlockVarCopyInit ()=default
 
 BlockVarCopyInit (Expr *CopyExpr, bool CanThrow)
 
void setExprAndFlag (Expr *CopyExpr, bool CanThrow)
 
ExprgetCopyExpr () const
 
bool canThrow () const
 

Public Attributes

llvm::PointerIntPair< Expr *, 1, boolExprAndFlag
 

Detailed Description

Copy initialization expr of a __block variable and a boolean flag that indicates whether the expression can throw.

Definition at line 6011 of file Expr.h.

Constructor & Destructor Documentation

◆ BlockVarCopyInit() [1/2]

clang::BlockVarCopyInit::BlockVarCopyInit ( )
default

◆ BlockVarCopyInit() [2/2]

clang::BlockVarCopyInit::BlockVarCopyInit ( Expr CopyExpr,
bool  CanThrow 
)
inline

Definition at line 6013 of file Expr.h.

Member Function Documentation

◆ canThrow()

bool clang::BlockVarCopyInit::canThrow ( ) const
inline

Definition at line 6019 of file Expr.h.

References ExprAndFlag.

Referenced by getBlockCaptureStr().

◆ getCopyExpr()

Expr* clang::BlockVarCopyInit::getCopyExpr ( ) const
inline

Definition at line 6018 of file Expr.h.

References ExprAndFlag.

Referenced by clang::ASTContext::BlockRequiresCopying().

◆ setExprAndFlag()

void clang::BlockVarCopyInit::setExprAndFlag ( Expr CopyExpr,
bool  CanThrow 
)
inline

Definition at line 6015 of file Expr.h.

References CanThrow(), and ExprAndFlag.

Member Data Documentation

◆ ExprAndFlag

llvm::PointerIntPair<Expr *, 1, bool> clang::BlockVarCopyInit::ExprAndFlag

Definition at line 6020 of file Expr.h.

Referenced by canThrow(), getCopyExpr(), and setExprAndFlag().


The documentation for this struct was generated from the following file: