]> granicus.if.org Git - clang/commitdiff
Driver: Print version on stderr to match [gc]cc.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 18 Mar 2009 06:51:03 +0000 (06:51 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 18 Mar 2009 06:51:03 +0000 (06:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67178 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Driver.cpp

index 4b3596d7b3dbaad94b1aab48264968494140a5be..1e4cd7f4782f6bbc33c3ed760ed823cdac85bdcb 100644 (file)
@@ -216,7 +216,7 @@ void Driver::PrintVersion() const {
 
   // FIXME: The following handlers should use a callback mechanism, we
   // don't know what the client would like to do.
-  llvm::outs() << "ccc version 1.0" << "\n";
+  llvm::errs() << "ccc version 1.0" << "\n";
 }
 
 bool Driver::HandleImmediateArgs(const Compilation &C) {