forked from OSchip/llvm-project
Commented out the _Alloc_traits specialization entirely, as it is only
supported by specific versions of GCC. It is left in place in case anyone wants to updated it for GCC 3.4 or re-use it for earlier versions of GCC where it works. llvm-svn: 17324
This commit is contained in:
parent
158737a76c
commit
98b355b6b2
|
@ -72,7 +72,13 @@ inline bool operator!=(const MallocAllocator<T>&, const MallocAllocator<T>&) {
|
|||
}
|
||||
} // End llvm namespace
|
||||
|
||||
#if defined(__linux__) && !(defined (sparc) || defined (_sparc))
|
||||
/*
|
||||
* This specialization was used for optimization earlier, but doesn't appear
|
||||
* to work with newer versions of GCC, Linux or otherwise.
|
||||
*
|
||||
* This can be re-enabled if desired, but by default, it won't be included.
|
||||
*/
|
||||
#if 0
|
||||
namespace std {
|
||||
template<typename Type, typename Type2>
|
||||
struct _Alloc_traits<Type, ::llvm::MallocAllocator<Type2> > {
|
||||
|
|
Loading…
Reference in New Issue