[llvm-commits] CVS: llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp

Misha Brukman brukman at cs.uiuc.edu
Wed Apr 28 13:53:01 PDT 2004


Changes in directory llvm/lib/Analysis/IPA:

FindUnsafePointerTypes.cpp updated: 1.22 -> 1.23

---
Log message:

Send text and numbers directly to CachedWriter's contained ostream.


---
Diffs of the changes:  (+2 -1)

Index: llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
diff -u llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp:1.22 llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp:1.23
--- llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp:1.22	Tue Apr 27 10:12:48 2004
+++ llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp	Wed Apr 28 13:52:43 2004
@@ -98,7 +98,8 @@
   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";
   }
 }
 





More information about the llvm-commits mailing list