<div dir="ltr">On Wed, Apr 3, 2013 at 9:57 AM, jahanian <span dir="ltr"><<a href="mailto:fjahanian@apple.com" target="_blank">fjahanian@apple.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Ahy did you remove test/Parser/prefix-attributes.m test? </div></blockquote><div><br>
</div><div style>I moved it to test/Parser/<a href="http://attributes.mm">attributes.mm</a> (since it now also tests postfix attributes).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>Other than that lgtm.</div></div></blockquote><div><br></div><div style>Thanks!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>- Fariborz</div><div><br><div><div><div class="h5"><div>On Apr 3, 2013, at 8:44 AM, Nico Weber <<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>> wrote:</div>
<br></div></div><blockquote type="cite"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><div class="h5"><div dir="ltr">On Wed, Apr 3, 2013 at 1:00 AM, John McCall<span> </span><span dir="ltr"><<a href="mailto:rjmccall@apple.com" target="_blank">rjmccall@apple.com</a>></span><span> </span>wrote:<br>
<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>
On Apr 2, 2013, at 7:51 PM, Nico Weber <<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>> wrote:<br>> it's<br>><br>>     class __attribute__((visibility("hidden"))) A {};<br>
><br>> but<br>><br>>     __attribute__((visibility("hidden"))) @interface I @end<br>><br>> 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.<br>
><br>> Instead of just making that print a nice fixit too, what do you think about allowing attributes for @interfaces after the @interface keyword too?<br><br></div></div>I see no reason to introduce confusion about where to put attributes in an @interface.  It's not like after the @interface is actually a good place to put attributes.<br>
</blockquote><div><br></div><div>Ok. The attached patch gives attributes after an objc directive a nicer diagnostic then. Is this ok?</div><div><br></div><div>Nico</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span><font color="#888888"><br>John.<br></font></span></blockquote></div><br></div></div></div></div><span><clang-objc-attrs.patch></span>_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a></div></blockquote></div><br></div></div></blockquote></div><br></div></div>