[PATCH] D98433: [clang] [C++2b] [P1102] Accept lambdas without parameter list ().

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 23 06:03:44 PDT 2021


aaron.ballman added inline comments.


================
Comment at: clang/lib/Parse/ParseExprCXX.cpp:1453
-
-    Diag(Tok, diag::err_lambda_missing_parens)
-      << TokKind
----------------
I believe you can remove this diagnostic from DiagnosticParseKinds.td now.


================
Comment at: clang/test/Parser/cxx-concepts-requires-clause.cpp:161
+#endif
\ No newline at end of file

----------------
Because you're touching the end of the file anyway, can you add the newline?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98433



More information about the cfe-commits mailing list