[llvm-commits] [llvm] r155978 - /llvm/trunk/tools/bugpoint/ToolRunner.cpp

John McCall rjmccall at apple.com
Tue May 1 22:39:10 PDT 2012


Author: rjmccall
Date: Wed May  2 00:39:10 2012
New Revision: 155978

URL: http://llvm.org/viewvc/llvm-project?rev=155978&view=rev
Log:
Fix unintentional use of operator bool.

Modified:
    llvm/trunk/tools/bugpoint/ToolRunner.cpp

Modified: llvm/trunk/tools/bugpoint/ToolRunner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/ToolRunner.cpp?rev=155978&r1=155977&r2=155978&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/ToolRunner.cpp (original)
+++ llvm/trunk/tools/bugpoint/ToolRunner.cpp Wed May  2 00:39:10 2012
@@ -128,7 +128,7 @@
       ErrorFile.close();
     }
 
-    errs() << OS;
+    errs() << OS.str();
   }
 
   return ReturnCode;





More information about the llvm-commits mailing list