diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-10 15:26:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-10 15:26:27 +0000 |
commit | b163f1c3e551cb3e5abd9bead0eae7a753502540 (patch) | |
tree | 70afc9466ec50c05eb158da286e94405212f4ab3 /include/llvm/Value.h | |
parent | 6b121f1c434fb0771ba4447e0551a4f1bc004b4b (diff) | |
download | llvm-b163f1c3e551cb3e5abd9bead0eae7a753502540.tar.gz llvm-b163f1c3e551cb3e5abd9bead0eae7a753502540.tar.bz2 llvm-b163f1c3e551cb3e5abd9bead0eae7a753502540.tar.xz |
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
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r-- | include/llvm/Value.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 6a39109f32..2e0740b09a 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(); |