================ @@ -879,6 +879,8 @@ class LambdaScopeInfo final : /// is known. bool AfterParameterList = true; + bool BeforeCompoundStatement = false; + ---------------- cor3ntin wrote:
I think it would be easier to initialize that to `true` and only set it to false at the end of `ActOnStartOfLambdaDefinition` https://github.com/llvm/llvm-project/pull/211811 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
