mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
Fix VC++ level 4 warnings.
llvm-svn: 24750
This commit is contained in:
parent
f9fecfca82
commit
0998a3e70e
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user