aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-05-05 22:30:40 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-05-05 22:30:40 +0000
commite25bc8c9571ed49c0a2d6b647a56679623f325a5 (patch)
tree8aed1164cbbdce7651dd16c05e47b9535a54bada
parent554a4dc987b9482a79ac6fc1caedb9471c1ba8d8 (diff)
downloadexternal_llvm-e25bc8c9571ed49c0a2d6b647a56679623f325a5.tar.gz
external_llvm-e25bc8c9571ed49c0a2d6b647a56679623f325a5.tar.bz2
external_llvm-e25bc8c9571ed49c0a2d6b647a56679623f325a5.zip
Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21703 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/ADT/hash_map.in24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/llvm/ADT/hash_map.in b/include/llvm/ADT/hash_map.in
index 9d2d792394..1249dbbc48 100644
--- a/include/llvm/ADT/hash_map.in
+++ b/include/llvm/ADT/hash_map.in
@@ -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 @@ namespace stdext {
// Provide a hash function for unsigned ints...
template<> struct hash<unsigned int> {
inline size_t operator()(unsigned int Val) const {
- return Val;
+ return Val;
}
};