We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f79bbef commit 3d64b63Copy full SHA for 3d64b63
clang/include/clang/Sema/DeclSpec.h
@@ -2769,11 +2769,10 @@ struct LambdaIntroducer {
2769
2770
SourceRange Range;
2771
SourceLocation DefaultLoc;
2772
- LambdaCaptureDefault Default;
+ LambdaCaptureDefault Default = LCD_None;
2773
SmallVector<LambdaCapture, 4> Captures;
2774
2775
- LambdaIntroducer()
2776
- : Default(LCD_None) {}
+ LambdaIntroducer() = default;
2777
2778
bool hasLambdaCapture() const {
2779
return Captures.size() > 0 || Default != LCD_None;
0 commit comments