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/Metadata.h | |
parent | 6c79e2c9aacba94d830f2944c8d5e4f3a4d91eb8 (diff) | |
download | external_llvm-41b5adf20208f46e4b1104d6d473710fbfa61eb9.zip external_llvm-41b5adf20208f46e4b1104d6d473710fbfa61eb9.tar.gz external_llvm-41b5adf20208f46e4b1104d6d473710fbfa61eb9.tar.bz2 |
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/Metadata.h')
-rw-r--r-- | include/llvm/Metadata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index 63c2da2..13b97b9 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -181,7 +181,7 @@ public: /// duplicates void Profile(FoldingSetNodeID &ID) const; - virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U) { + virtual void replaceUsesOfWithOnConstant(Value *, Value *, Use *) { llvm_unreachable("This should never be called because MDNodes have no ops"); } @@ -291,7 +291,7 @@ public: return false; } - virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U) { + virtual void replaceUsesOfWithOnConstant(Value *, Value *, Use *) { llvm_unreachable( "This should never be called because NamedMDNodes have no ops"); } @@ -361,7 +361,7 @@ public: /// ValueIsDeleted - This handler is used to update metadata store /// when a value is deleted. - void ValueIsDeleted(const Value *V) {} + void ValueIsDeleted(const Value *) {} void ValueIsDeleted(const Instruction *Inst) { removeMDs(Inst); } |