diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-12-17 00:18:06 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-12-17 00:18:06 +0000 |
commit | e15ccf464cfa78423e34264c2047cb44d6974b65 (patch) | |
tree | a15a97ccfc8820e1e52e403e4846c272c7530a01 /include/llvm/Value.h | |
parent | 6f0e680ca6f578410e713bc790ad8d3d83a1ac12 (diff) | |
download | llvm-e15ccf464cfa78423e34264c2047cb44d6974b65.tar.gz llvm-e15ccf464cfa78423e34264c2047cb44d6974b65.tar.bz2 llvm-e15ccf464cfa78423e34264c2047cb44d6974b65.tar.xz |
Fix VC++ level 4 warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r-- | include/llvm/Value.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index e02cec132e..8b6601d695 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -165,7 +165,7 @@ public: } // Methods for support type inquiry through isa, cast, and dyn_cast: - static inline bool classof(const Value *V) { + static inline bool classof(const Value * /*V*/) { return true; // Values are always values. } @@ -175,7 +175,7 @@ public: private: /// FIXME: this is a gross hack, needed by another gross hack. Eliminate! - void setValueType(unsigned VT) { SubclassID = VT; } + void setValueType(unsigned short VT) { SubclassID = VT; } friend class Instruction; }; |