[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 18:15:48 PDT 2012
> I assume you mean 'a' in that last line? ;] If so, yea, this looks fine.
Yes :-)
> We shouldn't loop over redeclarations here. We should simply have to compare
> the current visibility with the visibility of the canonical definition,
> error if different, and discard.
Updated patch attached, thanks!
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 2213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120425/4900db7a/attachment.obj>
More information about the cfe-commits
mailing list