clang
3.7.0
|
Describes the capture of either a variable, or 'this', or variable-length array type. More...
#include <Stmt.h>
Public Member Functions | |
Capture (SourceLocation Loc, VariableCaptureKind Kind, VarDecl *Var=nullptr) | |
Create a new capture. More... | |
VariableCaptureKind | getCaptureKind () const |
Determine the kind of capture. More... | |
SourceLocation | getLocation () const |
Retrieve the source location at which the variable or 'this' was first used. More... | |
bool | capturesThis () const |
Determine whether this capture handles the C++ 'this' pointer. More... | |
bool | capturesVariable () const |
Determine whether this capture handles a variable. More... | |
bool | capturesVariableArrayType () const |
Determine whether this capture handles a variable-length array type. More... | |
VarDecl * | getCapturedVar () const |
Retrieve the declaration of the variable being captured. More... | |
Friends | |
class | ASTStmtReader |
Describes the capture of either a variable, or 'this', or variable-length array type.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |