forked from OSchip/llvm-project
llvm::errs() is non-buffered, so it doesn't need to be flushed.
llvm-svn: 107012
This commit is contained in:
parent
8a62f18091
commit
3bc1b0c882
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue