<div dir="ltr">+1, we weren't getting much out of TargetAttributesSema.cpp.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 15, 2013 at 5:49 AM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This patch removes the TargetAttributesSema concept and replaces it<br>
with one where the parsed attributes are responsible for knowing their<br>
target-specific nature, instead of letting Sema figure it out. This is<br>
necessary so that __has_attribute can eventually determine whether a<br>
parsed attribute applies to the given target or not.<br>
<br>
All of the semantic handling which was previously in<br>
TargetAttributesSema.cpp has been moved to SemaDeclAttr.cpp, but still<br>
only applies to the specific target by asking the attribute whether it<br>
exists in the given target or not. The target-specific information is<br>
generated automatically via tablegen.<br>
<span class="HOEnZb"><font color="#888888"><br>
~Aaron<br>
</font></span><br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>