mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
554a4dc987
commit
e25bc8c957
@ -74,24 +74,24 @@
|
|||||||
namespace HASH_NAMESPACE {
|
namespace HASH_NAMESPACE {
|
||||||
|
|
||||||
template <class DataType> struct hash {
|
template <class DataType> struct hash {
|
||||||
unsigned int operator()(const unsigned int& x) const {
|
unsigned int operator()(const unsigned int& x) const {
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename KeyType,
|
template <typename KeyType,
|
||||||
typename ValueType,
|
typename ValueType,
|
||||||
class _HashFcn = hash<KeyType>,
|
class _HashFcn = hash<KeyType>,
|
||||||
class _EqualKey = equal_to<KeyType>,
|
class _EqualKey = equal_to<KeyType>,
|
||||||
class _A = allocator <ValueType> >
|
class _A = allocator <ValueType> >
|
||||||
class hash_map : public rw_hashmap<KeyType, ValueType, class _HashFcn, class _EqualKey, class _A> {
|
class hash_map : public rw_hashmap<KeyType, ValueType, class _HashFcn, class _EqualKey, class _A> {
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename KeyType,
|
template <typename KeyType,
|
||||||
typename ValueType,
|
typename ValueType,
|
||||||
class _HashFcn = hash<KeyType>,
|
class _HashFcn = hash<KeyType>,
|
||||||
class _EqualKey = equal_to<KeyType>,
|
class _EqualKey = equal_to<KeyType>,
|
||||||
class _A = allocator <ValueType> >
|
class _A = allocator <ValueType> >
|
||||||
class hash_multimap : public rw_hashmultimap<KeyType, ValueType, class _HashFcn, class _EqualKey, class _A> {
|
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...
|
// Provide a hash function for unsigned ints...
|
||||||
template<> struct hash<unsigned int> {
|
template<> struct hash<unsigned int> {
|
||||||
inline size_t operator()(unsigned int Val) const {
|
inline size_t operator()(unsigned int Val) const {
|
||||||
return Val;
|
return Val;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user