diff options
author | Eric Christopher <echristo@apple.com> | 2009-10-14 20:28:33 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2009-10-14 20:28:33 +0000 |
commit | 41b5adf20208f46e4b1104d6d473710fbfa61eb9 (patch) | |
tree | d3a4721092a33ae0ce3c932f009911cac8e170a3 /include/llvm/Operator.h | |
parent | 6c79e2c9aacba94d830f2944c8d5e4f3a4d91eb8 (diff) |
Remove a bunch of unused arguments from functions, silencing a
warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Operator.h')
-rw-r--r-- | include/llvm/Operator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Operator.h b/include/llvm/Operator.h index 2b5cc57e75..60865aa8ad 100644 --- a/include/llvm/Operator.h +++ b/include/llvm/Operator.h @@ -57,8 +57,8 @@ public: } static inline bool classof(const Operator *) { return true; } - static inline bool classof(const Instruction *I) { return true; } - static inline bool classof(const ConstantExpr *I) { return true; } + static inline bool classof(const Instruction *) { return true; } + static inline bool classof(const ConstantExpr *) { return true; } static inline bool classof(const Value *V) { return isa<Instruction>(V) || isa<ConstantExpr>(V); } |