diff options
-rw-r--r-- | include/llvm/Type.h | 1 | ||||
-rw-r--r-- | include/llvm/Value.h | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 6cf3c8d..273cd43 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -389,7 +389,6 @@ template <> inline bool isa_impl<PointerType, Type>(const Type &Ty) { return Ty.getTypeID() == Type::PointerTyID; } -std::ostream &operator<<(std::ostream &OS, const Type *T); std::ostream &operator<<(std::ostream &OS, const Type &T); } // End llvm namespace diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 7f0d5db..ee5f56b 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -139,14 +139,6 @@ private: friend class Instruction; }; -inline std::ostream &operator<<(std::ostream &OS, const Value *V) { - if (V == 0) - OS << "<null> value!\n"; - else - V->print(OS); - return OS; -} - inline std::ostream &operator<<(std::ostream &OS, const Value &V) { V.print(OS); return OS; |