[Allocator] Hoist the external helper function into a namespace scope
authorChandler Carruth <chandlerc@gmail.com>
Mon, 14 Apr 2014 06:42:56 +0000 (06:42 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 14 Apr 2014 06:42:56 +0000 (06:42 +0000)
commit1907f75445f4757f91d4a52f8a857a1f412fffce
treea65e3d8dc57c49cee641b812a9b9c33614307c48
parent273a62f9ac324d00e8b7607ca8dabc85b64804b6
[Allocator] Hoist the external helper function into a namespace scope
declaration. GCC 4.7 appears to get hopelessly confused by declaring
this function within a member function of a class template. Go figure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206152 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Allocator.h
lib/Support/Allocator.cpp