Off topic, but I would love to eliminate the "c++ness" notion of the driver. I think it is confusing, and most users don't really understand whether or not it is important (and it usually isn't).<div><br>
</div><div>It only effects two things:</div><div> 1. The behavior of the driver when used to link.</div><div> 2. Some input files are "auto-detected" as C++.</div><div><br></div><div>The latter behavior is gross, produces a warning, and I believe has been deprecated in gcc for a while. Maybe we should just eliminate it?</div>
<div><br></div><div>If we did that, then it would be entirely sensible to provide another (more sensibly named) option to request linking with the C++ standard library (and other associated behavior). Then clang -flink-c++ (or whatever we called it) and clang++ would be equivalent, and we could also kill -ccc-cxx.</div>
<div><br></div><div>I doubt we could eliminate the actual "clang++" file even if we did that, but it would at least be nice to tell people that it is just a shortcut for providing the -flink-c++ flag.</div><div>
<br></div><div> - Daniel</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 29, 2012 at 5:10 PM, Jordan Rose <span dir="ltr"><<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On Oct 29, 2012, at 17:04 , Eli Friedman <<a href="mailto:eli.friedman@gmail.com">eli.friedman@gmail.com</a>> wrote:<br>
<br>
> On Mon, Oct 29, 2012 at 4:59 PM, Rafael Espíndola<br>
> <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:<br>
>> In the past "production" clang builds would not be used for c++, and<br>
>> we had the -ccc-clang-cxx and -ccc-no-clang-cxx options to force them<br>
>> on or off for testing. C++ is now production quality and I think these<br>
>> options are dead. Is it ok to remove them?<br>
><br>
> Yes, please do.<br>
<br>
</div></div>Is there any other way to force clang to behave like clang++ though? I have aliases for built clangs, but clang -x c++ is not the same as clang++.<br>
<br>
<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>
</blockquote></div><br></div>