]> granicus.if.org Git - clang/commit
Reject cases like
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 26 Apr 2012 01:26:03 +0000 (01:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 26 Apr 2012 01:26:03 +0000 (01:26 +0000)
commit45a0b264512ee0e9ba874bb3bfeb7f5b96789117
treeaaa87011fa3639fa1211d5a7f1a3e59305d83e5b
parentc799a6a5c884831c3c3ea57d30fbe4ab35709d49
Reject cases like

struct __attribute__((visibility("hidden"))) a;
struct __attribute__((visibility("default"))) b;

which gcc already rejects.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155603 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclAttr.cpp
test/Sema/attr-visibility.c