r324259 - [Options] Make --cuda-path-ignore-env a Flag, NFCI.

Jonas Hahnfeld via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 5 10:19:40 PST 2018


Author: hahnfeld
Date: Mon Feb  5 10:19:40 2018
New Revision: 324259

URL: http://llvm.org/viewvc/llvm-project?rev=324259&view=rev
Log:
[Options] Make --cuda-path-ignore-env a Flag, NFCI.

This option doesn't take an argument!

Modified:
    cfe/trunk/include/clang/Driver/Options.td

Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=324259&r1=324258&r2=324259&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Mon Feb  5 10:19:40 2018
@@ -556,7 +556,7 @@ def no_cuda_version_check : Flag<["--"],
 def no_cuda_noopt_device_debug : Flag<["--"], "no-cuda-noopt-device-debug">;
 def cuda_path_EQ : Joined<["--"], "cuda-path=">, Group<i_Group>,
   HelpText<"CUDA installation path">;
-def cuda_path_ignore_env : Joined<["--"], "cuda-path-ignore-env">, Group<i_Group>,
+def cuda_path_ignore_env : Flag<["--"], "cuda-path-ignore-env">, Group<i_Group>,
   HelpText<"Ignore environment variables to detect CUDA installation">;
 def ptxas_path_EQ : Joined<["--"], "ptxas-path=">, Group<i_Group>,
   HelpText<"Path to ptxas (used for compiling CUDA code)">;




More information about the cfe-commits mailing list