LGTM Thanks for taking the time to deep-dive into this and figure out the core reason, Aaron!
On Thu, May 29, 2014 at 6:33 AM, Aaron Ballman <[email protected]> wrote: > When setting language option defaults, -std overrides -x for CUDA and > OpenCL when it should not. For instance, passing -x cuda -std=c++11, > the CUDA language option would never be set, and so CUDA functionality > would be disabled. This patch addresses that by setting the language > option based on the -std or the input file kind. > > ~Aaron >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
