Changes in directory llvm/include/llvm/Support:

Streams.h updated: 1.3 -> 1.4
---
Log message:

Replacing std::iostreams with llvm iostreams. Some of these changes involve
adding a temporary wrapper around the ostream to make it friendly to
functions expecting an LLVM stream. This should be fixed in the future.


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

 Streams.h |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/include/llvm/Support/Streams.h
diff -u llvm/include/llvm/Support/Streams.h:1.3 
llvm/include/llvm/Support/Streams.h:1.4
--- llvm/include/llvm/Support/Streams.h:1.3     Mon Nov 27 04:45:49 2006
+++ llvm/include/llvm/Support/Streams.h Tue Nov 28 18:19:40 2006
@@ -43,6 +43,7 @@
     }
 
     bool operator == (const std::ostream &OS) { return &OS == Stream; }
+    bool operator == (const llvm_ostream &OS) { return OS.Stream == Stream; }
   };
 
   extern llvm_ostream llvm_null;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to