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
This commit is contained in:
Misha Brukman 2004-04-28 18:52:43 +00:00
parent 500acf72cc
commit 8618e52be5

View File

@ -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";
}
}