[PATCH] D119609: [Clang][Sema] Prohibit expr statement in the default argument
Jun Zhang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 4 07:26:38 PDT 2022
junaire updated this revision to Diff 420178.
junaire retitled this revision from " [Clang][Sema] Prohibit expr statement in the default argument" to "[Clang][Sema] Prohibit expr statement in the default argument".
junaire edited the summary of this revision.
junaire added a comment.
Add tests for template arguments.
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.420178.patch
Type: text/x-patch
Size: 6110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220404/260f73c1/attachment.bin>
More information about the cfe-commits
mailing list