[all-commits] [llvm/llvm-project] 1cbdf9: PR46231: Promote diagnostic for 'template<...>; ' f...
Richard Smith via All-commits
all-commits at lists.llvm.org
Wed Jul 29 12:35:40 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1cbdf932b41eb58ed94fbc240e93b63653d95bd3
https://github.com/llvm/llvm-project/commit/1cbdf932b41eb58ed94fbc240e93b63653d95bd3
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-07-29 (Wed, 29 Jul 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Parser/cxx-template-decl.cpp
M clang/test/SemaCXX/PR16677.cpp
M clang/test/SemaCXX/invalid-template-params.cpp
M clang/test/SemaTemplate/template-decl-fail.cpp
Log Message:
-----------
PR46231: Promote diagnostic for 'template<...>;' from ExtWarn to Error.
No other compiler accepts this as an extension, not even in permissive
mode. We're not doing anyone any favors by allowing this, and it's
unlikely to be at all common, even in Clang-only code, in the wild.
More information about the All-commits
mailing list