[cfe-commits] r79829 - /cfe/trunk/lib/Frontend/Backend.cpp
Chris Lattner
sabre at nondot.org
Sat Aug 22 22:57:09 PDT 2009
Author: lattner
Date: Sun Aug 23 00:57:09 2009
New Revision: 79829
URL: http://llvm.org/viewvc/llvm-project?rev=79829&view=rev
Log:
use errs() instead of cerr.
Modified:
cfe/trunk/lib/Frontend/Backend.cpp
Modified: cfe/trunk/lib/Frontend/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/Backend.cpp?rev=79829&r1=79828&r2=79829&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/Backend.cpp (original)
+++ cfe/trunk/lib/Frontend/Backend.cpp Sun Aug 23 00:57:09 2009
@@ -328,7 +328,7 @@
std::string Error;
if (!AddEmitPasses(Error)) {
// FIXME: Don't fail this way.
- llvm::cerr << "ERROR: " << Error << "\n";
+ llvm::errs() << "ERROR: " << Error << "\n";
::exit(1);
}
More information about the cfe-commits
mailing list