Pull in r155978 from upstream llvm trunk:

Fix unintentional use of operator bool.

This enables llvm's bugpoint tool to build with libc++.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2012-06-01 06:50:37 +00:00
parent 81c2214dda
commit 3e2e1f1f0a

View File

@ -128,7 +128,7 @@ static int RunProgramRemotelyWithTimeout(const sys::Path &RemoteClientPath,
ErrorFile.close();
}
errs() << OS;
errs() << OS.str();
}
return ReturnCode;