clang  9.0.0
Public Member Functions | Public Attributes | List of all members
clang::ASTContext::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/ASTContext.h"

Collaboration diagram for clang::ASTContext::BlockVarCopyInit:
[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 158 of file ASTContext.h.

Constructor & Destructor Documentation

◆ BlockVarCopyInit() [1/2]

clang::ASTContext::BlockVarCopyInit::BlockVarCopyInit ( )
default

◆ BlockVarCopyInit() [2/2]

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

Definition at line 160 of file ASTContext.h.

Member Function Documentation

◆ canThrow()

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

Definition at line 166 of file ASTContext.h.

Referenced by getBlockCaptureStr(), and clang::ASTDeclWriter::VisitVarDecl().

◆ getCopyExpr()

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

◆ setExprAndFlag()

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

Definition at line 162 of file ASTContext.h.

Member Data Documentation

◆ ExprAndFlag

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

Definition at line 167 of file ASTContext.h.


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