diff options
author | Dan Gohman <gohman@apple.com> | 2010-06-28 15:56:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-06-28 15:56:07 +0000 |
commit | d784d4ddac3baa6592863869e55c39348924836a (patch) | |
tree | 535f6139dad2c28c3c4cf8f9409d17eff0269ebc /lib/Checker/HTMLDiagnostics.cpp | |
parent | 0f8c08843fc6c8abe03654f609e1e03fcc557855 (diff) |
llvm::errs() is non-buffered, so it doesn't need to be flushed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/HTMLDiagnostics.cpp')
-rw-r--r-- | lib/Checker/HTMLDiagnostics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Checker/HTMLDiagnostics.cpp b/lib/Checker/HTMLDiagnostics.cpp index 401f177ce3..ff9867fb5f 100644 --- a/lib/Checker/HTMLDiagnostics.cpp +++ b/lib/Checker/HTMLDiagnostics.cpp @@ -294,8 +294,8 @@ void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D, 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; } |