#include "clang/Sema/ScopeInfo.h"
|
| 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, const bool ByCopy) |
|
bool | isThisCapture () const |
|
bool | isVariableCapture () const |
|
bool | isCopyCapture () const |
|
bool | isReferenceCapture () const |
|
bool | isBlockCapture () const |
|
bool | isVLATypeCapture () const |
|
bool | isNested () const |
|
bool | isODRUsed () const |
|
bool | isNonODRUsed () const |
|
void | markUsed (bool IsODRUse) |
|
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 469 of file ScopeInfo.h.
◆ IsThisCapture
◆ Capture() [1/2]
◆ Capture() [2/2]
◆ getCaptureType()
QualType clang::sema::CapturingScopeInfo::Capture::getCaptureType |
( |
| ) |
const |
|
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 577 of file ScopeInfo.h.
Referenced by isVariableAlreadyCapturedInScopeInfo().
◆ getEllipsisLoc()
SourceLocation clang::sema::CapturingScopeInfo::Capture::getEllipsisLoc |
( |
| ) |
const |
|
inline |
Retrieve the source location of the ellipsis, whose presence indicates that the capture is a pack expansion.
Definition at line 572 of file ScopeInfo.h.
◆ getInitExpr()
Expr* clang::sema::CapturingScopeInfo::Capture::getInitExpr |
( |
| ) |
const |
|
inline |
◆ getLocation()
SourceLocation clang::sema::CapturingScopeInfo::Capture::getLocation |
( |
| ) |
const |
|
inline |
Retrieve the location at which this variable was captured.
Definition at line 568 of file ScopeInfo.h.
◆ getVariable()
VarDecl* clang::sema::CapturingScopeInfo::Capture::getVariable |
( |
| ) |
const |
|
inline |
◆ isBlockCapture()
bool clang::sema::CapturingScopeInfo::Capture::isBlockCapture |
( |
| ) |
const |
|
inline |
◆ isCopyCapture()
bool clang::sema::CapturingScopeInfo::Capture::isCopyCapture |
( |
| ) |
const |
|
inline |
◆ isNested()
bool clang::sema::CapturingScopeInfo::Capture::isNested |
( |
| ) |
const |
|
inline |
◆ isNonODRUsed()
bool clang::sema::CapturingScopeInfo::Capture::isNonODRUsed |
( |
| ) |
const |
|
inline |
◆ isODRUsed()
bool clang::sema::CapturingScopeInfo::Capture::isODRUsed |
( |
| ) |
const |
|
inline |
◆ isReferenceCapture()
bool clang::sema::CapturingScopeInfo::Capture::isReferenceCapture |
( |
| ) |
const |
|
inline |
◆ isThisCapture()
bool clang::sema::CapturingScopeInfo::Capture::isThisCapture |
( |
| ) |
const |
|
inline |
◆ isVariableCapture()
bool clang::sema::CapturingScopeInfo::Capture::isVariableCapture |
( |
| ) |
const |
|
inline |
◆ isVLATypeCapture()
bool clang::sema::CapturingScopeInfo::Capture::isVLATypeCapture |
( |
| ) |
const |
|
inline |
◆ markUsed()
void clang::sema::CapturingScopeInfo::Capture::markUsed |
( |
bool |
IsODRUse | ) |
|
|
inline |
The documentation for this class was generated from the following file: