[PATCH] D119609: [Clang][Sema] Prohibit expression statement in lambda default argument

Jun Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 8 20:05:13 PST 2022


junaire added a comment.

I just realized that something is not very clear here. Should we prohibit expression statements in all default arguments or just in lambda and templates? I wonder how gcc folks think about it as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119609



More information about the cfe-commits mailing list