diff options
Diffstat (limited to 'lib/Sema/SemaLambda.cpp')
-rw-r--r-- | lib/Sema/SemaLambda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaLambda.cpp b/lib/Sema/SemaLambda.cpp index 033bf4ab3c..776d27a364 100644 --- a/lib/Sema/SemaLambda.cpp +++ b/lib/Sema/SemaLambda.cpp @@ -29,7 +29,7 @@ void Sema::ActOnStartOfLambdaDefinition(LambdaIntroducer &Intro, // Start constructing the lambda class. CXXRecordDecl *Class = CXXRecordDecl::Create(Context, TTK_Class, DC, Intro.Range.getBegin(), - /*IdLoc=*/SourceLocation(), + /*IdLoc=*/Intro.Range.getBegin(), /*Id=*/0); Class->startDefinition(); Class->setLambda(true); |