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

Jun Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 2 03:41:39 PDT 2022


junaire updated this revision to Diff 419965.
junaire added a comment.

- Rebase.
- Update commit message.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119609

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Parse/ParseDecl.cpp
  clang/lib/Parse/ParseTemplate.cpp
  clang/test/Sema/err-expr-stmt-in-default-arg.cpp
  clang/test/SemaTemplate/dependent-expr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119609.419965.patch
Type: text/x-patch
Size: 5871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220402/1575e786/attachment.bin>


More information about the cfe-commits mailing list