From: Justin Lebar Date: Tue, 5 Apr 2016 18:26:25 +0000 (+0000) Subject: [CUDA] Show --cuda-gpu-arch option in clang --help. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9005a83cdcd0b038a0e5f87e3e52003f43f7c13d;p=clang [CUDA] Show --cuda-gpu-arch option in clang --help. For some reason it was hidden. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265436 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 9af2043999..67e875832a 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -374,8 +374,8 @@ def c : Flag<["-"], "c">, Flags<[DriverOption]>, 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">,