|
clang 22.0.0git
|
Represents a complete lambda introducer. More...
#include "clang/Sema/DeclSpec.h"
Classes | |
| struct | LambdaCapture |
| An individual capture in a lambda introducer. More... | |
Public Member Functions | |
| LambdaIntroducer ()=default | |
| bool | hasLambdaCapture () const |
| void | addCapture (LambdaCaptureKind Kind, SourceLocation Loc, IdentifierInfo *Id, SourceLocation EllipsisLoc, LambdaCaptureInitKind InitKind, ExprResult Init, ParsedType InitCaptureType, SourceRange ExplicitRange) |
| Append a capture in a lambda introducer. | |
Public Attributes | |
| SourceRange | Range |
| SourceLocation | DefaultLoc |
| LambdaCaptureDefault | Default = LCD_None |
| SmallVector< LambdaCapture, 4 > | Captures |
Represents a complete lambda introducer.
Definition at line 2806 of file DeclSpec.h.
|
default |
|
inline |
Append a capture in a lambda introducer.
Definition at line 2840 of file DeclSpec.h.
References Captures, and clang::Init.
|
inline |
Definition at line 2835 of file DeclSpec.h.
References Captures, Default, and clang::LCD_None.
Referenced by DiagnoseStaticSpecifierRestrictions().
| SmallVector<LambdaCapture, 4> clang::LambdaIntroducer::Captures |
Definition at line 2831 of file DeclSpec.h.
Referenced by clang::Sema::ActOnLambdaExpressionAfterIntroducer(), clang::Sema::ActOnStartOfLambdaDefinition(), addCapture(), clang::SemaCodeCompletion::CodeCompleteLambdaIntroducer(), and hasLambdaCapture().
| LambdaCaptureDefault clang::LambdaIntroducer::Default = LCD_None |
Definition at line 2830 of file DeclSpec.h.
Referenced by clang::Sema::ActOnLambdaClosureQualifiers(), clang::Sema::ActOnLambdaExpressionAfterIntroducer(), clang::SemaCodeCompletion::CodeCompleteLambdaIntroducer(), and hasLambdaCapture().
| SourceLocation clang::LambdaIntroducer::DefaultLoc |
Definition at line 2829 of file DeclSpec.h.
Referenced by clang::Sema::ActOnLambdaClosureQualifiers(), and clang::Sema::ActOnLambdaExpressionAfterIntroducer().
| SourceRange clang::LambdaIntroducer::Range |
Definition at line 2828 of file DeclSpec.h.
Referenced by clang::Sema::ActOnLambdaExpressionAfterIntroducer(), clang::Sema::ActOnStartOfLambdaDefinition(), and getLambdaType().