lgtm
> --- a/include/clang/Basic/DiagnosticSemaKinds.td > +++ b/include/clang/Basic/DiagnosticSemaKinds.td > @@ -2074,6 +2074,8 @@ def err_attribute_selectany_non_extern_data : Error< > def warn_attribute_invalid_on_definition : Warning< > "'%0' attribute cannot be specified on a definition">, > InGroup<IgnoredAttributes>; > +def err_attribute_dll_redeclaration : Error< > + "%q0 redeclared with different dll attributes">; Should we be more specific here? Something like: redeclaration %0 adds attribute %1 which was missing the previous declaration On Wed, Mar 26, 2014 at 9:12 AM, Nico Rieck <[email protected]> wrote: > This patch implements semantic handling of redeclarations with dllimport > or dllexport attributes. Both attributes must appear on the first > declaration, and dllimport must appear on every redeclaration. > > -Nico > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
