A static_assert declaration cannot be a template; adding the diagnostic for this...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 4 Aug 2014 20:28:35 +0000 (20:28 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 4 Aug 2014 20:28:35 +0000 (20:28 +0000)
commite7c544d38800e246dd675db70653a34e104d75bd
treef1e0f5d2e8c656e595ed279ad14d852657b66d47
parent6e842b34a07b16196b05dcd1902c0bfabeeaf113
A static_assert declaration cannot be a template; adding the diagnostic for this instead of silently accepting and producing possibly-unexpected behavior.

llvm-svn: 214770
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Parse/ParseTemplate.cpp
clang/test/Parser/cxx11-templates.cpp [new file with mode: 0644]