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

Attachment: lang-opts.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to