[cfe-commits] r68316 - /cfe/trunk/lib/Driver/Driver.cpp
Daniel Dunbar
daniel at zuster.org
Thu Apr 2 08:05:42 PDT 2009
Author: ddunbar
Date: Thu Apr 2 10:05:41 2009
New Revision: 68316
URL: http://llvm.org/viewvc/llvm-project?rev=68316&view=rev
Log:
Wire --version to normal -v version text.
Modified:
cfe/trunk/lib/Driver/Driver.cpp
Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=68316&r1=68315&r2=68316&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Thu Apr 2 10:05:41 2009
@@ -328,6 +328,11 @@
return false;
}
+ if (C.getArgs().hasArg(options::OPT__version)) {
+ PrintVersion(C);
+ return false;
+ }
+
if (C.getArgs().hasArg(options::OPT_v) ||
C.getArgs().hasArg(options::OPT__HASH_HASH_HASH)) {
PrintVersion(C);
More information about the cfe-commits
mailing list