[llvm-commits] CVS: llvm/include/llvm/ADT/hash_map.in
Misha Brukman
brukman at cs.uiuc.edu
Thu May 5 15:30:51 PDT 2005
Changes in directory llvm/include/llvm/ADT:
hash_map.in updated: 1.7 -> 1.8
---
Log message:
Convert tabs to spaces
---
Diffs of the changes: (+12 -12)
hash_map.in | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
Index: llvm/include/llvm/ADT/hash_map.in
diff -u llvm/include/llvm/ADT/hash_map.in:1.7 llvm/include/llvm/ADT/hash_map.in:1.8
--- llvm/include/llvm/ADT/hash_map.in:1.7 Tue Mar 15 23:49:06 2005
+++ llvm/include/llvm/ADT/hash_map.in Thu May 5 17:30:40 2005
@@ -74,24 +74,24 @@
namespace HASH_NAMESPACE {
template <class DataType> struct hash {
- unsigned int operator()(const unsigned int& x) const {
- return x;
- }
+ unsigned int operator()(const unsigned int& x) const {
+ return x;
+ }
};
template <typename KeyType,
- typename ValueType,
- class _HashFcn = hash<KeyType>,
- class _EqualKey = equal_to<KeyType>,
- class _A = allocator <ValueType> >
+ typename ValueType,
+ class _HashFcn = hash<KeyType>,
+ class _EqualKey = equal_to<KeyType>,
+ class _A = allocator <ValueType> >
class hash_map : public rw_hashmap<KeyType, ValueType, class _HashFcn, class _EqualKey, class _A> {
};
template <typename KeyType,
- typename ValueType,
- class _HashFcn = hash<KeyType>,
- class _EqualKey = equal_to<KeyType>,
- class _A = allocator <ValueType> >
+ typename ValueType,
+ class _HashFcn = hash<KeyType>,
+ class _EqualKey = equal_to<KeyType>,
+ class _A = allocator <ValueType> >
class hash_multimap : public rw_hashmultimap<KeyType, ValueType, class _HashFcn, class _EqualKey, class _A> {
};
@@ -117,7 +117,7 @@
// Provide a hash function for unsigned ints...
template<> struct hash<unsigned int> {
inline size_t operator()(unsigned int Val) const {
- return Val;
+ return Val;
}
};
More information about the llvm-commits
mailing list