<div dir="ltr"><div>I guess the intent is to eventually switch over to generating include/clang/Basic/LangOptions.def with tablegen, with a shared .td file being used for both that and the attributes?<br></div><div><br></div>
<div>Please name your generated functions with a leading lowercase letter ("defaultDiagnoseLangOpts", "checkCPlusPlusLangOpts"); other than that, LGTM. Thank you!</div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Mon, Dec 2, 2013 at 11:17 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">
Several attributes test whether specific language options are enabled<br>
before performing the required semantic handling. This patch automates<br>
that task by pushing it into tablegen.<br>
<br>
I've added a list of language options that can be optionally specified<br>
for an attribute. If none of the given language options are enabled, a<br>
diagnostic is issued. This allowed several attributes to use the<br>
simple attribute handler.<br>
<span class="HOEnZb"><font color="#888888"><br>
~Aaron<br>
</font></span></blockquote></div><br></div>