[llvm-commits] [llvm] r106778 - /llvm/trunk/include/llvm/ADT/ValueMap.h
Eric Christopher
echristo at apple.com
Thu Jun 24 13:14:34 PDT 2010
Author: echristo
Date: Thu Jun 24 15:14:34 2010
New Revision: 106778
URL: http://llvm.org/viewvc/llvm-project?rev=106778&view=rev
Log:
Silence some unused variable warnings.
Modified:
llvm/trunk/include/llvm/ADT/ValueMap.h
Modified: llvm/trunk/include/llvm/ADT/ValueMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ValueMap.h?rev=106778&r1=106777&r2=106778&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ValueMap.h (original)
+++ llvm/trunk/include/llvm/ADT/ValueMap.h Thu Jun 24 15:14:34 2010
@@ -59,16 +59,16 @@
struct ExtraData {};
template<typename ExtraDataT>
- static void onRAUW(const ExtraDataT &Data, KeyT Old, KeyT New) {}
+ static void onRAUW(const ExtraDataT & /*Data*/, KeyT /*Old*/, KeyT /*New*/) {}
template<typename ExtraDataT>
- static void onDelete(const ExtraDataT &Data, KeyT Old) {}
+ static void onDelete(const ExtraDataT &/*Data*/, KeyT /*Old*/) {}
/// Returns a mutex that should be acquired around any changes to the map.
/// This is only acquired from the CallbackVH (and held around calls to onRAUW
/// and onDelete) and not inside other ValueMap methods. NULL means that no
/// mutex is necessary.
template<typename ExtraDataT>
- static sys::Mutex *getMutex(const ExtraDataT &Data) { return NULL; }
+ static sys::Mutex *getMutex(const ExtraDataT &/*Data*/) { return NULL; }
};
/// See the file comment.
More information about the llvm-commits
mailing list