aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-05-02 05:39:10 +0000
committerJohn McCall <rjmccall@apple.com>2012-05-02 05:39:10 +0000
commit9679f0f35742aa9792b01c26e08b2932cc8428ed (patch)
treed38fc8cdcc33d1eda29842b26fdd623653ec8ada
parent41827f9ba2745cfe16d94775f6fd0803b0efef23 (diff)
downloadexternal_llvm-9679f0f35742aa9792b01c26e08b2932cc8428ed.zip
external_llvm-9679f0f35742aa9792b01c26e08b2932cc8428ed.tar.gz
external_llvm-9679f0f35742aa9792b01c26e08b2932cc8428ed.tar.bz2
Fix unintentional use of operator bool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155978 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/bugpoint/ToolRunner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp
index 25a2bae..d975d68 100644
--- a/tools/bugpoint/ToolRunner.cpp
+++ b/tools/bugpoint/ToolRunner.cpp
@@ -128,7 +128,7 @@ static int RunProgramRemotelyWithTimeout(const sys::Path &RemoteClientPath,
ErrorFile.close();
}
- errs() << OS;
+ errs() << OS.str();
}
return ReturnCode;