[cfe-commits] [patch] Error if a decl is redeclared with a different explicit visibility
Chandler Carruth
chandlerc at google.com
Wed Apr 25 18:20:47 PDT 2012
On Wed, Apr 25, 2012 at 6:15 PM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> > 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!
>
LGTM!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120425/baaccc6e/attachment.html>
More information about the cfe-commits
mailing list