]> granicus.if.org Git - clang/commitdiff
clang-cl: support -v
authorHans Wennborg <hans@hanshq.net>
Tue, 18 Feb 2014 19:29:31 +0000 (19:29 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 18 Feb 2014 19:29:31 +0000 (19:29 +0000)
It doesn't conflict with any cl.exe options and it's useful for debugging.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201597 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Options.td

index 0877133da1012fed68655ca9f15ce3b700173b5c..82c7c30c335e269cdf156c01418526c3a29e3808 100644 (file)
@@ -1311,7 +1311,7 @@ def undef : Flag<["-"], "undef">, Group<u_Group>, Flags<[CC1Option]>,
   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">;