llvm-project/clang/test/CXX/dcl.decl
Chandler Carruth a92409c3ec Enhance the diagnostic for negative array sizes to include the
declaration name of the array when present. This ensures that
a poor-man's C++03 static_assert will include the user error message
often embedded in the name.

Update all the tests to reflect the new wording, and add a test for the
name behavior.

llvm-svn: 122802
2011-01-04 04:44:35 +00:00
..
dcl.init Calculate the value kind of an expression when it's created and 2010-11-18 06:31:45 +00:00
dcl.meaning Enhance the diagnostic for negative array sizes to include the 2011-01-04 04:44:35 +00:00
dcl.name In some contexts, type declarations cannot occur. Pass this information down to ParseClassSpecifier, to make its decision easier. Fixes PR6200. 2010-02-03 21:21:43 +00:00