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 4495 of file Decl.h.
Referenced by clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable().
|
inline |
Definition at line 4520 of file Decl.h.
Referenced by computeCopyInfoForBlockCapture().
|
inline |
The variable being captured.
Definition at line 4501 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 4505 of file Decl.h.
Referenced by computeCopyInfoForBlockCapture(), and clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable().
|
inline |
Definition at line 4507 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 4517 of file Decl.h.
Referenced by getCaptureFieldType().
|
inline |
Definition at line 4511 of file Decl.h.
References getVariable(), and clang::VarDecl::isNonEscapingByref().
|
inline |