clang
10.0.0svn
|
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 | isEscapingByref () const |
bool | isNonEscapingByref () const |
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 3997 of file Decl.h.
Referenced by computeCopyInfoForBlockCapture(), and clang::ASTNodeTraverser< ASTDumper, TextNodeDumper >::Visit().
|
inline |
The variable being captured.
Definition at line 3978 of file Decl.h.
Referenced by buildBlockDescriptor(), findBlockCapturedManagedEntities(), getBlockCaptureStr(), getCaptureFieldType(), clang::TextNodeDumper::Visit(), and clang::JSONNodeDumper::Visit().
|
inline |
Definition at line 3996 of file Decl.h.
Referenced by clang::ASTNodeTraverser< ASTDumper, TextNodeDumper >::Visit().
|
inline |
Whether this is a "by ref" capture, i.e.
a capture of a __block variable.
Definition at line 3982 of file Decl.h.
Referenced by computeCopyInfoForBlockCapture(), clang::TextNodeDumper::Visit(), and clang::JSONNodeDumper::Visit().
|
inline |
Definition at line 3984 of file Decl.h.
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 3994 of file Decl.h.
Referenced by getCaptureFieldType(), clang::TextNodeDumper::Visit(), and clang::JSONNodeDumper::Visit().
|
inline |
|
inline |
Definition at line 3998 of file Decl.h.
References clang::Create().