tra added a comment. Help strings seem to be backwards. LGTM otherwise.
================ Comment at: include/clang/Driver/Options.td:378 @@ -377,2 +377,3 @@ def cuda_device_only : Flag<["--"], "cuda-device-only">, - HelpText<"Do device-side CUDA compilation only">; + HelpText<"Compile CUDA code for host only. Has no effect on non-CUDA " + "compilations.">; ---------------- for *device* ================ Comment at: include/clang/Driver/Options.td:381 @@ +380,3 @@ +def cuda_host_only : Flag<["--"], "cuda-host-only">, + HelpText<"Compile CUDA code for device only">; +def cuda_compile_host_device : Flag<["--"], "cuda-compile-host-device">, ---------------- for *host* http://reviews.llvm.org/D19248 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits