summaryrefslogtreecommitdiff
path: root/lib/VMCore/Type.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 04:52:46 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 04:52:46 +0000
commit79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a (patch)
tree507e7ca43cdca884242d2bb314ed04ec8a17d52c /lib/VMCore/Type.cpp
parent0c47a412079c11656fdcc7e125d604e3aa543903 (diff)
downloadllvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.gz
llvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.bz2
llvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.xz
remove the std::ostream version of module and type printing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Type.cpp')
-rw-r--r--lib/VMCore/Type.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index 3f64e81f92..36dcbccdce 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -1208,19 +1208,6 @@ bool SequentialType::indexValid(const Value *V) const {
}
namespace llvm {
-std::ostream &operator<<(std::ostream &OS, const Type *T) {
- if (T == 0)
- OS << "<null> value!\n";
- else
- T->print(OS);
- return OS;
-}
-
-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;