Eliminate setType method
Now the only way to set the type of a value is in the ctor for an object llvm-svn: 3646
This commit is contained in:
parent
fe500386d3
commit
45719ee85d
|
|
@ -55,8 +55,6 @@ private:
|
||||||
|
|
||||||
void operator=(const Value &); // Do not implement
|
void operator=(const Value &); // Do not implement
|
||||||
Value(const Value &); // Do not implement
|
Value(const Value &); // Do not implement
|
||||||
protected:
|
|
||||||
inline void setType(const Type *ty) { Ty = ty; }
|
|
||||||
public:
|
public:
|
||||||
Value(const Type *Ty, ValueTy vty, const std::string &name = "");
|
Value(const Type *Ty, ValueTy vty, const std::string &name = "");
|
||||||
virtual ~Value();
|
virtual ~Value();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue