<div dir="ltr">Any feedback?</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Thanks,<br>--Serge<br></div></div>
<br><div class="gmail_quote">2018-02-28 0:02 GMT+07:00 Serge Pavlov via Phabricator <span dir="ltr"><<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">sepavloff marked an inline comment as done.<br>
sepavloff added inline comments.<br>
<span class=""><br>
<br>
================<br>
Comment at: include/clang/Driver/Options.<wbr>td:1735<br>
+  HelpText<"Whether to use IR type names (option: none, use)">,<br>
+  Values<"none,use">;<br>
 def relocatable_pch : Flag<["-", "--"], "relocatable-pch">, Flags<[CC1Option]>,<br>
----------------<br>
</span><span class="">rjmccall wrote:<br>
> This is an unusual spelling for the option in a number of ways:<br>
>   - We generally don't use `--` options; I think all the ones we have are strictly for legacy support.<br>
>   - A lot of similar options are in the `-f` or `-m` namespaces, although that's not as consistent and we could reasonably make this an exception.<br>
>   - `-foo=bar` options are generally used for options that are expected to take a variety of different values; this seems basically boolean.  Are you expecting future growth here?<br>
</span>The option is in fact a three-state one, the third 'value' is absence of the option. In this case the option value is calculated from the type of action (produce ll file or not) and from the type of build (in debug builds types are named by default). To avoid misunderstanding I added new value, 'auto' for this purpose.<br>
<br>
The option was renamed to `-fir-type-names=` and it is not hidden anymore.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Repository:<br>
  rC Clang<br>
<br>
<a href="https://reviews.llvm.org/D43805" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D43805</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>