[cfe-commits] r107012 - /cfe/trunk/lib/Checker/HTMLDiagnostics.cpp
Dan Gohman
gohman at apple.com
Mon Jun 28 08:56:08 PDT 2010
Author: djg
Date: Mon Jun 28 10:56:07 2010
New Revision: 107012
URL: http://llvm.org/viewvc/llvm-project?rev=107012&view=rev
Log:
llvm::errs() is non-buffered, so it doesn't need to be flushed.
Modified:
cfe/trunk/lib/Checker/HTMLDiagnostics.cpp
Modified: cfe/trunk/lib/Checker/HTMLDiagnostics.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/HTMLDiagnostics.cpp?rev=107012&r1=107011&r2=107012&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/HTMLDiagnostics.cpp (original)
+++ cfe/trunk/lib/Checker/HTMLDiagnostics.cpp Mon Jun 28 10:56:07 2010
@@ -294,8 +294,8 @@
llvm::raw_fd_ostream os(H.c_str(), ErrorMsg);
if (!ErrorMsg.empty()) {
- (llvm::errs() << "warning: could not create file '" << F.str()
- << "'\n").flush();
+ llvm::errs() << "warning: could not create file '" << F.str()
+ << "'\n";
return;
}
More information about the cfe-commits
mailing list