[cfe-commits] [patch] Error if a decl is redeclared with a different explicit visibility
Rafael EspĂndola
rafael.espindola at gmail.com
Wed Apr 25 17:36:22 PDT 2012
The attached patch makes clang produce an error for cases like
struct __attribute__((visibility("hidden"))) a;
struct __attribute__((visibility("default"))) b;
which gcc already rejects. Is it OK?
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 2317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120425/dfd96d6c/attachment.obj>
More information about the cfe-commits
mailing list