summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-04-20 15:55:38 +0000
committerDan Gohman <gohman@apple.com>2009-04-20 15:55:38 +0000
commit5fe6b530a5f524e2c15ac980287e99d2eb18374f (patch)
treea06c9f107189518b23bcc07ed18d88e7e1b30f57
parent162dd0245e7ac66b29abe6ceca0a647d3983436d (diff)
downloadbcm5719-llvm-5fe6b530a5f524e2c15ac980287e99d2eb18374f.tar.gz
bcm5719-llvm-5fe6b530a5f524e2c15ac980287e99d2eb18374f.zip
Implement operator<<(raw_ostream &OS, const Type &T).
llvm-svn: 69596
-rw-r--r--llvm/lib/VMCore/Type.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Type.cpp b/llvm/lib/VMCore/Type.cpp
index edd8cf35022..7e6bbe511fe 100644
--- a/llvm/lib/VMCore/Type.cpp
+++ b/llvm/lib/VMCore/Type.cpp
@@ -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;
+}
}
OpenPOWER on IntegriCloud