[llvm-commits] [llvm] r69596 - /llvm/trunk/lib/VMCore/Type.cpp
Dan Gohman
gohman at apple.com
Mon Apr 20 08:55:38 PDT 2009
Author: djg
Date: Mon Apr 20 10:55:38 2009
New Revision: 69596
URL: http://llvm.org/viewvc/llvm-project?rev=69596&view=rev
Log:
Implement operator<<(raw_ostream &OS, const Type &T).
Modified:
llvm/trunk/lib/VMCore/Type.cpp
Modified: llvm/trunk/lib/VMCore/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Type.cpp?rev=69596&r1=69595&r2=69596&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Type.cpp (original)
+++ llvm/trunk/lib/VMCore/Type.cpp Mon Apr 20 10:55:38 2009
@@ -1428,4 +1428,9 @@
T.print(OS);
return OS;
}
+
+raw_ostream &operator<<(raw_ostream &OS, const Type &T) {
+ T.print(OS);
+ return OS;
+}
}
More information about the llvm-commits
mailing list