]> granicus.if.org Git - clang/commitdiff
Be sure to use the correct version instead of the wrong one.
authorMike Stump <mrs@apple.com>
Tue, 15 Sep 2009 21:49:22 +0000 (21:49 +0000)
committerMike Stump <mrs@apple.com>
Tue, 15 Sep 2009 21:49:22 +0000 (21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81925 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-cc/clang-cc.cpp

index 179fb334f1a0dd826a6b00fd62a126b5c6a9adb1..3c451c8c0d2e32529808fe78204c0b8c2eb208b8 100644 (file)
@@ -2157,7 +2157,8 @@ int main(int argc, char **argv) {
     ClangFrontendTimer = new llvm::Timer("Clang front-end time");
 
   if (Verbose)
-    llvm::errs() << "clang-cc version 1.0 based upon " << PACKAGE_STRING
+    llvm::errs() << "clang-cc version " CLANG_VERSION_STRING
+                 << " based upon " << PACKAGE_STRING
                  << " hosted on " << llvm::sys::getHostTriple() << "\n";
 
   // If no input was specified, read from stdin.