[llvm-commits] CVS: llvm/include/llvm/Value.h
Jeff Cohen
jeffc at jolt-lang.org
Fri Dec 16 16:18:18 PST 2005
Changes in directory llvm/include/llvm:
Value.h updated: 1.79 -> 1.80
---
Log message:
Fix VC++ level 4 warnings.
---
Diffs of the changes: (+2 -2)
Value.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/Value.h
diff -u llvm/include/llvm/Value.h:1.79 llvm/include/llvm/Value.h:1.80
--- llvm/include/llvm/Value.h:1.79 Fri Oct 7 20:24:19 2005
+++ llvm/include/llvm/Value.h Fri Dec 16 18:18:06 2005
@@ -165,7 +165,7 @@
}
// 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 @@
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;
};
More information about the llvm-commits
mailing list