[llvm-commits] CVS: llvm/include/llvm/BasicBlock.h Constant.h GlobalValue.h Instruction.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 25 10:59:39 PDT 2005
Changes in directory llvm/include/llvm:
BasicBlock.h updated: 1.56 -> 1.57
Constant.h updated: 1.25 -> 1.26
GlobalValue.h updated: 1.23 -> 1.24
Instruction.h updated: 1.68 -> 1.69
---
Log message:
Remove some dead argument names which irritates GCC at certain warning levels.
---
Diffs of the changes: (+4 -4)
BasicBlock.h | 2 +-
Constant.h | 2 +-
GlobalValue.h | 2 +-
Instruction.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/include/llvm/BasicBlock.h
diff -u llvm/include/llvm/BasicBlock.h:1.56 llvm/include/llvm/BasicBlock.h:1.57
--- llvm/include/llvm/BasicBlock.h:1.56 Fri Aug 12 17:13:27 2005
+++ llvm/include/llvm/BasicBlock.h Tue Oct 25 12:59:28 2005
@@ -139,7 +139,7 @@
void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
/// Methods for support type inquiry through isa, cast, and dyn_cast:
- static inline bool classof(const BasicBlock *BB) { return true; }
+ static inline bool classof(const BasicBlock *) { return true; }
static inline bool classof(const Value *V) {
return V->getValueType() == Value::BasicBlockVal;
}
Index: llvm/include/llvm/Constant.h
diff -u llvm/include/llvm/Constant.h:1.25 llvm/include/llvm/Constant.h:1.26
--- llvm/include/llvm/Constant.h:1.25 Tue Oct 4 13:12:13 2005
+++ llvm/include/llvm/Constant.h Tue Oct 25 12:59:28 2005
@@ -75,7 +75,7 @@
/// use Value::replaceAllUsesWith, which automatically dispatches to this
/// method as needed.
///
- virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U) {
+ virtual void replaceUsesOfWithOnConstant(Value *, Value *, Use *) {
// Provide a default implementation for constants (like integers) that
// cannot use any other values. This cannot be called at runtime, but needs
// to be here to avoid link errors.
Index: llvm/include/llvm/GlobalValue.h
diff -u llvm/include/llvm/GlobalValue.h:1.23 llvm/include/llvm/GlobalValue.h:1.24
--- llvm/include/llvm/GlobalValue.h:1.23 Thu Apr 21 15:11:51 2005
+++ llvm/include/llvm/GlobalValue.h Tue Oct 25 12:59:28 2005
@@ -101,7 +101,7 @@
void removeDeadConstantUsers();
// Methods for support type inquiry through isa, cast, and dyn_cast:
- static inline bool classof(const GlobalValue *T) { return true; }
+ static inline bool classof(const GlobalValue *) { return true; }
static inline bool classof(const Value *V) {
return V->getValueType() == Value::FunctionVal ||
V->getValueType() == Value::GlobalVariableVal;
Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.68 llvm/include/llvm/Instruction.h:1.69
--- llvm/include/llvm/Instruction.h:1.68 Mon Aug 8 00:21:33 2005
+++ llvm/include/llvm/Instruction.h Tue Oct 25 12:59:28 2005
@@ -157,7 +157,7 @@
void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
/// Methods for support type inquiry through isa, cast, and dyn_cast:
- static inline bool classof(const Instruction *I) { return true; }
+ static inline bool classof(const Instruction *) { return true; }
static inline bool classof(const Value *V) {
return V->getValueType() >= Value::InstructionVal;
}
More information about the llvm-commits
mailing list