]> granicus.if.org Git - clang/commitdiff
Frontend: Teach clang -cc1as to respond to -v.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 27 Sep 2010 20:13:13 +0000 (20:13 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 27 Sep 2010 20:13:13 +0000 (20:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114863 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/CC1AsOptions.td

index 5c08dc630551da37f10fe9fb83f422874e2bc1c3..821d56e2fbea84f092bd1238fb58476548e081d6 100644 (file)
@@ -46,6 +46,7 @@ def _help : Flag<"--help">, Alias<help>;
 def version : Flag<"-version">,
   HelpText<"Print the assembler version">;
 def _version : Flag<"--version">, Alias<version>;
+def v : Flag<"-v">, Alias<version>;
 
 // Generic forwarding to LLVM options. This should only be used for debugging
 // and experimental features.