From b163f1c3e551cb3e5abd9bead0eae7a753502540 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 10 Sep 2002 15:26:27 +0000 Subject: [PATCH] Eliminate setType method Now the only way to set the type of a value is in the ctor for an object git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3646 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Value.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 6a39109f32a..2e0740b09a7 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -55,8 +55,6 @@ private: void operator=(const Value &); // Do not implement Value(const Value &); // Do not implement -protected: - inline void setType(const Type *ty) { Ty = ty; } public: Value(const Type *Ty, ValueTy vty, const std::string &name = ""); virtual ~Value();