cor3ntin added a subscriber: erichkeane.
cor3ntin added a comment.

Beside a missing test, this LGTM
I'd like someone else (@erichkeane maybe) to review the codegen tests.



================
Comment at: clang/test/Parser/cxx2b-lambdas.cpp:60
+  auto SC5 = [&y = x]() static {}; // expected-error {{a static lambda cannot 
have any captures}} // expected-note {{captures declared here}}
+  auto SC6 = [=]() static {}; // expected-error {{a static lambda cannot have 
any captures}} // expected-note {{captures declared here}}
+
----------------
For completeness, can you add a test for `*this`/`this`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133659/new/

https://reviews.llvm.org/D133659

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to