clang 20.0.0git
|
A class which contains all the information about a particular captured value. More...
#include "clang/AST/Decl.h"
Public Member Functions | |
Capture (VarDecl *variable, bool byRef, bool nested, Expr *copy) | |
VarDecl * | getVariable () const |
The variable being captured. | |
bool | isByRef () const |
Whether this is a "by ref" capture, i.e. | |
bool | isEscapingByref () const |
bool | isNonEscapingByref () const |
bool | isNested () const |
Whether this is a nested capture, i.e. | |
bool | hasCopyExpr () const |
Expr * | getCopyExpr () const |
void | setCopyExpr (Expr *e) |
A class which contains all the information about a particular captured value.
|
inline |
Definition at line 4492 of file Decl.h.
Referenced by clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable().
|
inline |
Definition at line 4517 of file Decl.h.
Referenced by computeCopyInfoForBlockCapture().
|
inline |
The variable being captured.
Definition at line 4498 of file Decl.h.
Referenced by clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable(), getBlockCaptureStr(), getCaptureFieldType(), isEscapingByref(), and isNonEscapingByref().
|
inline |
|
inline |
Whether this is a "by ref" capture, i.e.
a capture of a __block variable.
Definition at line 4502 of file Decl.h.
Referenced by computeCopyInfoForBlockCapture(), and clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable().
|
inline |
Definition at line 4504 of file Decl.h.
References getVariable(), and clang::VarDecl::isEscapingByref().
Referenced by computeCopyInfoForBlockCapture(), and computeDestroyInfoForBlockCapture().
|
inline |
Whether this is a nested capture, i.e.
the variable captured is not from outside the immediately enclosing function/block.
Definition at line 4514 of file Decl.h.
Referenced by getCaptureFieldType().
|
inline |
Definition at line 4508 of file Decl.h.
References getVariable(), and clang::VarDecl::isNonEscapingByref().
|
inline |