diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 6cf3c8d04b5..273cd439c8c 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -389,7 +389,6 @@ template <> inline bool isa_impl(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 7f0d5db5f07..ee5f56b1673 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 << " value!\n"; - else - V->print(OS); - return OS; -} - inline std::ostream &operator<<(std::ostream &OS, const Value &V) { V.print(OS); return OS;