r265436 - [CUDA] Show --cuda-gpu-arch option in clang --help.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 5 11:26:25 PDT 2016

Author: jlebar
Date: Tue Apr  5 13:26:25 2016
New Revision: 265436

URL: http://llvm.org/viewvc/llvm-project?rev=265436&view=rev
[CUDA] Show --cuda-gpu-arch option in clang --help.

For some reason it was hidden.


Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=265436&r1=265435&r2=265436&view=diff
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Tue Apr  5 13:26:25 2016
@@ -374,8 +374,8 @@ def c : Flag<["-"], "c">, Flags<[DriverO
   HelpText<"Only run preprocess, compile, and assemble steps">;
 def cuda_device_only : Flag<["--"], "cuda-device-only">,
   HelpText<"Do device-side CUDA compilation only">;
-def cuda_gpu_arch_EQ : Joined<["--"], "cuda-gpu-arch=">,
-  Flags<[DriverOption, HelpHidden]>, HelpText<"CUDA GPU architecture">;
+def cuda_gpu_arch_EQ : Joined<["--"], "cuda-gpu-arch=">, Flags<[DriverOption]>,
+  HelpText<"CUDA GPU architecture (e.g. sm_35).  May be specified more than once.">;
 def cuda_host_only : Flag<["--"], "cuda-host-only">,
   HelpText<"Do host-side CUDA compilation only">;
 def cuda_noopt_device_debug : Flag<["--"], "cuda-noopt-device-debug">,

More information about the cfe-commits mailing list