Implement operator<<(raw_ostream &OS, const Type &T).
authorDan Gohman <gohman@apple.com>
Mon, 20 Apr 2009 15:55:38 +0000 (15:55 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 20 Apr 2009 15:55:38 +0000 (15:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69596 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Type.cpp

index edd8cf35022fb2858e7746d3c2694f3fb755b65c..7e6bbe511fecb04350649e1eeffae232a38fd1f7 100644 (file)
@@ -1428,4 +1428,9 @@ std::ostream &operator<<(std::ostream &OS, const Type &T) {
   T.print(OS);
   return OS;
 }
+
+raw_ostream &operator<<(raw_ostream &OS, const Type &T) {
+  T.print(OS);
+  return OS;
+}
 }