[clang] [Clang][Sema] Tweak tryCaptureVariable for unevaluated lambdas (PR #93206)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri May 24 06:42:24 PDT 2024
================
@@ -1576,7 +1576,10 @@ ExprResult Parser::ParseLambdaExpressionAfterIntroducer(
TrailingReturnTypeLoc, &DS),
std::move(Attributes), DeclEndLoc);
- Actions.ActOnLambdaClosureQualifiers(Intro, MutableLoc);
+ // We have called ActOnLambdaClosureQualifiers for parentheses-less cases
----------------
erichkeane wrote:
Is there any good reason to do this in 2 places, rather than just delay the above one to here? @cor3ntin ?
https://github.com/llvm/llvm-project/pull/93206
More information about the cfe-commits
mailing list