clang 20.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 2835 of file DeclSpec.h.
|
default |
|
inline |
Append a capture in a lambda introducer.
Definition at line 2869 of file DeclSpec.h.
References Captures, Id, clang::Init, Kind, and Loc.
|
inline |
Definition at line 2864 of file DeclSpec.h.
References Captures, Default, and clang::LCD_None.
Referenced by DiagnoseStaticSpecifierRestrictions().
SmallVector<LambdaCapture, 4> clang::LambdaIntroducer::Captures |
Definition at line 2860 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 2859 of file DeclSpec.h.
Referenced by clang::Sema::ActOnLambdaClosureQualifiers(), clang::Sema::ActOnLambdaExpressionAfterIntroducer(), clang::SemaCodeCompletion::CodeCompleteLambdaIntroducer(), and hasLambdaCapture().
SourceLocation clang::LambdaIntroducer::DefaultLoc |
Definition at line 2858 of file DeclSpec.h.
Referenced by clang::Sema::ActOnLambdaClosureQualifiers(), and clang::Sema::ActOnLambdaExpressionAfterIntroducer().
SourceRange clang::LambdaIntroducer::Range |
Definition at line 2857 of file DeclSpec.h.
Referenced by clang::Sema::ActOnLambdaExpressionAfterIntroducer(), clang::Sema::ActOnStartOfLambdaDefinition(), and getLambdaType().