r251653 - Mark InternalDebugOpt driver options as CoreOptions.

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 29 13:53:49 PDT 2015


Author: nico
Date: Thu Oct 29 15:53:49 2015
New Revision: 251653

URL: http://llvm.org/viewvc/llvm-project?rev=251653&view=rev
Log:
Mark InternalDebugOpt driver options as CoreOptions.

Mostly has the effect of making -ccc-print-phases usable from clang-cl.

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=251653&r1=251652&r2=251653&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Thu Oct 29 15:53:49 2015
@@ -145,7 +145,7 @@ def ccc_pch_is_pth : Flag<["-"], "ccc-pc
   HelpText<"Use pretokenized headers for precompiled headers">;
 
 class InternalDebugOpt : Group<internal_debug_Group>,
-  Flags<[DriverOption, HelpHidden]>;
+  Flags<[DriverOption, HelpHidden, CoreOption]>;
 def ccc_install_dir : Separate<["-"], "ccc-install-dir">, InternalDebugOpt,
   HelpText<"Simulate installation in the given directory">;
 def ccc_print_phases : Flag<["-"], "ccc-print-phases">, InternalDebugOpt,




More information about the cfe-commits mailing list