<div dir="ltr">LGTM<div><br></div><div>Thanks for taking the time to deep-dive into this and figure out the core reason, Aaron!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 29, 2014 at 6:33 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">When setting language option defaults, -std overrides -x for CUDA and<br>
OpenCL when it should not. For instance, passing -x cuda -std=c++11,<br>
the CUDA language option would never be set, and so CUDA functionality<br>
would be disabled. This patch addresses that by setting the language<br>
option based on the -std or the input file kind.<br>
<span class="HOEnZb"><font color="#888888"><br>
~Aaron<br>
</font></span></blockquote></div><br></div>