From 3e2e1f1f0a88eebee0da9b0fa22f7c15fa41e921 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Fri, 1 Jun 2012 06:50:37 +0000 Subject: [PATCH] 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 --- contrib/llvm/tools/bugpoint/ToolRunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/llvm/tools/bugpoint/ToolRunner.cpp b/contrib/llvm/tools/bugpoint/ToolRunner.cpp index 25a2baef7dc8..d975d68d9697 100644 --- a/contrib/llvm/tools/bugpoint/ToolRunner.cpp +++ b/contrib/llvm/tools/bugpoint/ToolRunner.cpp @@ -128,7 +128,7 @@ static int RunProgramRemotelyWithTimeout(const sys::Path &RemoteClientPath, ErrorFile.close(); } - errs() << OS; + errs() << OS.str(); } return ReturnCode;