aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-04-28 18:52:43 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-04-28 18:52:43 +0000
commit8618e52be514f1e4d20b0a49f8875ed3596522ed (patch)
treeff0ac1365958ebe845c8bd51560b7270217a0295 /lib/Analysis/IPA/FindUnsafePointerTypes.cpp
parent500acf72ccbe066cc6bd1ccc8ae88385facb9e79 (diff)
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
Diffstat (limited to 'lib/Analysis/IPA/FindUnsafePointerTypes.cpp')
-rw-r--r--lib/Analysis/IPA/FindUnsafePointerTypes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
index 67ab52d8a8..98cbe7812b 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<PointerType*>::const_iterator I = getUnsafeTypes().begin(),
E = getUnsafeTypes().end(); I != E; ++I, ++Counter) {
- CW << " #" << Counter << ". " << (Value*)*I << "\n";
+ o << " #" << Counter << ". ";
+ CW << (Value*)*I << "\n";
}
}