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
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 6a39109..2e0740b 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -55,8 +55,6 @@
 
   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();