From: Misha Brukman Date: Wed, 28 Apr 2004 18:52:43 +0000 (+0000) Subject: Send text and numbers directly to CachedWriter's contained ostream. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8618e52be514f1e4d20b0a49f8875ed3596522ed;p=oota-llvm.git Send text and numbers directly to CachedWriter's contained ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13243 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp index 67ab52d8a8a..98cbe7812b1 100644 --- a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp +++ b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp @@ -98,7 +98,8 @@ void FindUnsafePointerTypes::print(std::ostream &o, const Module *M) const { for (std::set::const_iterator I = getUnsafeTypes().begin(), E = getUnsafeTypes().end(); I != E; ++I, ++Counter) { - CW << " #" << Counter << ". " << (Value*)*I << "\n"; + o << " #" << Counter << ". "; + CW << (Value*)*I << "\n"; } }