]> granicus.if.org Git - clang/commit
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)
commitfc038e9ef8ed262724f42597ca5c844de97b1202
tree8da724ad06ccd7e850ec223898f13ed897e10b73
parent85b9e8ca6e157fde1e4526c157979ac49835a5b8
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146796 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/CXX/temp/temp.decls/temp.variadic/p5.cpp
test/CodeGenCXX/visibility.cpp
test/Sema/attr-declspec-ignored.c [new file with mode: 0644]
test/Sema/attr-deprecated.c
test/Sema/warn-cast-align.c
test/SemaCXX/attr-cxx0x.cpp
test/SemaCXX/attr-declspec-ignored.cpp [new file with mode: 0644]