curdeius planned changes to this revision.
curdeius added a comment.

I've checked and GCC accepts lambdas without parens (but with specifiers) in 
all standard modes, giving a warning pre-C++2b.
I guess it's reasonable to align the behaviour.
Cf. 
https://github.com/gcc-mirror/gcc/commit/0f161cc8494cf7283a16fa9ebbcf8fd121bab68d#diff-e668c6c0533673af02f98ed35505230e0f6abdcc4f4814642ef619c93cadf794R11353-R11360,
 https://godbolt.org/z/5zK4M6.
I'll do it also then unless somebody opposes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98433

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

Reply via email to