r201597 - clang-cl: support -v

Hans Wennborg hans at hanshq.net
Tue Feb 18 11:29:31 PST 2014


Author: hans
Date: Tue Feb 18 13:29:31 2014
New Revision: 201597

URL: http://llvm.org/viewvc/llvm-project?rev=201597&view=rev
Log:
clang-cl: support -v

It doesn't conflict with any cl.exe options and it's useful for debugging.

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=201597&r1=201596&r2=201597&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Tue Feb 18 13:29:31 2014
@@ -1311,7 +1311,7 @@ def undef : Flag<["-"], "undef">, Group<
   HelpText<"undef all system defines">;
 def unexported__symbols__list : Separate<["-"], "unexported_symbols_list">;
 def u : JoinedOrSeparate<["-"], "u">, Group<u_Group>;
-def v : Flag<["-"], "v">, Flags<[CC1Option]>,
+def v : Flag<["-"], "v">, Flags<[CC1Option, CoreOption]>,
   HelpText<"Show commands to run and use verbose output">;
 def verify_debug_info : Flag<["--"], "verify-debug-info">, Flags<[DriverOption]>,
   HelpText<"Verify the binary representation of debug output">;





More information about the cfe-commits mailing list