aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/BasicBlock.h2
-rw-r--r--include/llvm/Constant.h2
-rw-r--r--include/llvm/GlobalValue.h2
-rw-r--r--include/llvm/Instruction.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h
index 30c1fc7..55ecd40 100644
--- a/include/llvm/BasicBlock.h
+++ b/include/llvm/BasicBlock.h
@@ -139,7 +139,7 @@ public:
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;
}
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index fc63b35..f9d8441 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -75,7 +75,7 @@ public:
/// 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.
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h
index f85bd5e..ca92b21 100644
--- a/include/llvm/GlobalValue.h
+++ b/include/llvm/GlobalValue.h
@@ -101,7 +101,7 @@ public:
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;
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index ef62852..d9cb585 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -157,7 +157,7 @@ public:
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;
}