[llvm-commits] CVS: llvm/include/llvm/Support/ConstantRange.h

Bill Wendling isanbard at gmail.com
Tue Nov 28 14:21:51 PST 2006



Changes in directory llvm/include/llvm/Support:

ConstantRange.h updated: 1.9 -> 1.10
---
Log message:

Added a temporary hack to get the llvm-streams to work for future checkins.


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

 ConstantRange.h |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/include/llvm/Support/ConstantRange.h
diff -u llvm/include/llvm/Support/ConstantRange.h:1.9 llvm/include/llvm/Support/ConstantRange.h:1.10
--- llvm/include/llvm/Support/ConstantRange.h:1.9	Thu Apr 21 15:44:59 2005
+++ llvm/include/llvm/Support/ConstantRange.h	Tue Nov 28 16:21:29 2006
@@ -25,6 +25,7 @@
 #define LLVM_SUPPORT_CONSTANT_RANGE_H
 
 #include "llvm/Support/DataTypes.h"
+#include "llvm/Support/Streams.h"
 #include <iosfwd>
 
 namespace llvm {
@@ -140,6 +141,9 @@
 
   /// print - Print out the bounds to a stream...
   ///
+  void print(llvm_ostream &OS) const {
+    if (OS.stream()) print(*OS.stream());
+  }
   void print(std::ostream &OS) const;
 
   /// dump - Allow printing from a debugger easily...






More information about the llvm-commits mailing list