clang  7.0.0svn
Classes | Public Member Functions | Public Attributes | List of all members
clang::LambdaIntroducer Struct Reference

Represents a complete lambda introducer. More...

#include "clang/Sema/DeclSpec.h"

Collaboration diagram for clang::LambdaIntroducer:
Collaboration graph


struct  LambdaCapture
 An individual capture in a lambda introducer. More...

Public Member Functions

 LambdaIntroducer ()
void addCapture (LambdaCaptureKind Kind, SourceLocation Loc, IdentifierInfo *Id, SourceLocation EllipsisLoc, LambdaCaptureInitKind InitKind, ExprResult Init, ParsedType InitCaptureType)
 Append a capture in a lambda introducer. More...

Public Attributes

SourceRange Range
SourceLocation DefaultLoc
LambdaCaptureDefault Default
SmallVector< LambdaCapture, 4 > Captures

Detailed Description

Represents a complete lambda introducer.

Definition at line 2533 of file DeclSpec.h.

Constructor & Destructor Documentation

◆ LambdaIntroducer()

clang::LambdaIntroducer::LambdaIntroducer ( )

Definition at line 2556 of file DeclSpec.h.

Member Function Documentation

◆ addCapture()

void clang::LambdaIntroducer::addCapture ( LambdaCaptureKind  Kind,
SourceLocation  Loc,
IdentifierInfo Id,
SourceLocation  EllipsisLoc,
LambdaCaptureInitKind  InitKind,
ExprResult  Init,
ParsedType  InitCaptureType 

Append a capture in a lambda introducer.

Definition at line 2560 of file DeclSpec.h.

Member Data Documentation

◆ Captures

SmallVector<LambdaCapture, 4> clang::LambdaIntroducer::Captures

Definition at line 2554 of file DeclSpec.h.

◆ Default

LambdaCaptureDefault clang::LambdaIntroducer::Default

Definition at line 2553 of file DeclSpec.h.

◆ DefaultLoc

SourceLocation clang::LambdaIntroducer::DefaultLoc

Definition at line 2552 of file DeclSpec.h.

◆ Range

SourceRange clang::LambdaIntroducer::Range

Definition at line 2551 of file DeclSpec.h.

Referenced by addConstexprToLambdaDeclSpecifier().

The documentation for this struct was generated from the following file: