<div dir="ltr">







Hi,<br><br><br>it's<br><br>    class __attribute__((visibility("hidden"))) A {};<br><br>but<br><br>    __attribute__((visibility("hidden"))) @interface I @end<br><div><br></div><div style>In the first case, clang emits a nice fixit if the attribute is written before the class keyword, while putting the attribute after @interface makes clang print an ugly diagnostic.</div>
<div style><br></div><div style>Instead of just making that print a nice fixit too, what do you think about allowing attributes for @interfaces after the @interface keyword too?</div><div style><br></div><div style>Nico</div>
</div>