Tweak --version to include the date and time.
authorSteve Naroff <snaroff@apple.com>
Tue, 23 Dec 2008 18:41:47 +0000 (18:41 +0000)
committerSteve Naroff <snaroff@apple.com>
Tue, 23 Dec 2008 18:41:47 +0000 (18:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61378 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/CommandLine.cpp

index 3297810bce6926cb209546ce689ab53714b4c475..20c2b8e83f223d01088dcbbc4f175ec3ccb7d077 100644 (file)
@@ -1095,6 +1095,7 @@ public:
         cout << " with assertions";
 #endif
         cout << ".\n";
+        cout << "  Built " << __DATE__ << "(" << __TIME__ << ").\n";
   }
   void operator=(bool OptionWasSpecified) {
     if (OptionWasSpecified) {