|
clang
3.8.0
|
#include <ScopeInfo.h>
Public Types | |
| enum | IsThisCapture { ThisCapture } |
Public Member Functions | |
| Capture (VarDecl *Var, bool Block, bool ByRef, bool IsNested, SourceLocation Loc, SourceLocation EllipsisLoc, QualType CaptureType, Expr *Cpy) | |
| Capture (IsThisCapture, bool IsNested, SourceLocation Loc, QualType CaptureType, Expr *Cpy) | |
| bool | isThisCapture () const |
| bool | isVariableCapture () const |
| bool | isCopyCapture () const |
| bool | isReferenceCapture () const |
| bool | isBlockCapture () const |
| bool | isVLATypeCapture () const |
| bool | isNested () const |
| VarDecl * | getVariable () const |
| SourceLocation | getLocation () const |
| Retrieve the location at which this variable was captured. More... | |
| SourceLocation | getEllipsisLoc () const |
| Retrieve the source location of the ellipsis, whose presence indicates that the capture is a pack expansion. More... | |
| QualType | getCaptureType () const |
| Retrieve the capture type for this capture, which is effectively the type of the non-static data member in the lambda/block structure that would store this capture. More... | |
| Expr * | getInitExpr () const |
Definition at line 392 of file ScopeInfo.h.
| Enumerator | |
|---|---|
| ThisCapture | |
Definition at line 439 of file ScopeInfo.h.
|
inline |
Definition at line 431 of file ScopeInfo.h.
|
inline |
Definition at line 440 of file ScopeInfo.h.
|
inline |
Retrieve the capture type for this capture, which is effectively the type of the non-static data member in the lambda/block structure that would store this capture.
Definition at line 482 of file ScopeInfo.h.
Referenced by isVariableAlreadyCapturedInScopeInfo().
|
inline |
Retrieve the source location of the ellipsis, whose presence indicates that the capture is a pack expansion.
Definition at line 477 of file ScopeInfo.h.
|
inline |
Definition at line 484 of file ScopeInfo.h.
References isVLATypeCapture().
Referenced by clang::Sema::ActOnBlockStmtExpr().
|
inline |
Retrieve the location at which this variable was captured.
Definition at line 473 of file ScopeInfo.h.
Referenced by clang::Sema::ActOnStartOfLambdaDefinition().
|
inline |
Definition at line 468 of file ScopeInfo.h.
Referenced by clang::Sema::ActOnBlockStmtExpr(), and isVLATypeCapture().
|
inline |
Definition at line 459 of file ScopeInfo.h.
Referenced by clang::Sema::ActOnBlockStmtExpr().
|
inline |
Definition at line 452 of file ScopeInfo.h.
References isVLATypeCapture().
Referenced by isVariableAlreadyCapturedInScopeInfo().
|
inline |
Definition at line 466 of file ScopeInfo.h.
Referenced by clang::Sema::ActOnBlockStmtExpr().
|
inline |
Definition at line 456 of file ScopeInfo.h.
|
inline |
Definition at line 446 of file ScopeInfo.h.
Referenced by clang::Sema::ActOnBlockStmtExpr().
|
inline |
Definition at line 449 of file ScopeInfo.h.
References isVLATypeCapture().
|
inline |
Definition at line 462 of file ScopeInfo.h.
References getVariable().
Referenced by getInitExpr(), isCopyCapture(), and isVariableCapture().
1.8.6