|
clang
5.0.0
|
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. More... | |
| bool | isByRef () const |
| Whether this is a "by ref" capture, i.e. More... | |
| bool | isNested () const |
| Whether this is a nested capture, i.e. More... | |
| 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 3576 of file Decl.h.
Referenced by clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable().
|
inline |
Definition at line 3593 of file Decl.h.
Referenced by computeCopyInfoForBlockCapture(), and clang::CodeGen::CodeGenFunction::GenerateCopyHelperFunction().
|
inline |
The variable being captured.
Definition at line 3582 of file Decl.h.
Referenced by clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable(), clang::CodeGen::CodeGenFunction::GenerateCopyHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateDestroyHelperFunction(), and getCaptureFieldType().
|
inline |
|
inline |
Whether this is a "by ref" capture, i.e.
a capture of a __block variable.
Definition at line 3586 of file Decl.h.
Referenced by computeCopyInfoForBlockCapture(), computeDestroyInfoForBlockCapture(), clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable(), and clang::CodeGen::CodeGenFunction::GenerateCopyHelperFunction().
|
inline |
Whether this is a nested capture, i.e.
the variable captured is not from outside the immediately enclosing function/block.
Definition at line 3590 of file Decl.h.
Referenced by getCaptureFieldType().
|
inline |
1.8.6