Remove a non-gcc-compatible extension that would apply attributes on declarations...
authorEli Friedman <eli.friedman@gmail.com>
Sat, 17 Dec 2011 00:36:09 +0000 (00:36 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 17 Dec 2011 00:36:09 +0000 (00:36 +0000)
commite321795c60c58756a58da7fadb180747d1c9d632
tree2812295c698ecf390a4417304ae20fa7eb3df844
parent0f79160bb739fbab6030fa0857a3e663d64e51eb
Remove a non-gcc-compatible extension that would apply attributes on declarations without a declarator to structs.  Add a warning for ignored attributes.  Patch by Michael Han.

llvm-svn: 146796
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDecl.cpp
clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
clang/test/CodeGenCXX/visibility.cpp
clang/test/Sema/attr-declspec-ignored.c [new file with mode: 0644]
clang/test/Sema/attr-deprecated.c
clang/test/Sema/warn-cast-align.c
clang/test/SemaCXX/attr-cxx0x.cpp
clang/test/SemaCXX/attr-declspec-ignored.cpp [new file with mode: 0644]