<div dir="ltr"><div>I think we want to have a whitelist of "clang options" that are distinct from gcc options, rather than blacklisting a troublesome few (-MD) as GCCOptions.  That seemed to be the main conclusion of the discussion on cfe-dev.</div>
<div><br></div><div>We obviously don't want to add Flags<[ClangOption]> to every option in f_Group and f_clang_Group, so there'll have to be some tablegen magic in there.</div><div><br></div><div>Does that seem reasonable?</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 8:38 PM, Hans Wennborg <span dir="ltr"><<a href="mailto:hans@chromium.org" target="_blank">hans@chromium.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
The attached patch makes clang-cl handle the /? and /help command-line flags.<br>
<br>
These are both just aliases to the regular -help flag, but this puts<br>
the code in place for accepting (and printing as part of the help<br>
message) different flags depending on the driver mode.<br>
<br>
Please take a look!<br>
<br>
Thanks,<br>
Hans<br>
</blockquote></div><br></div>