[Allocator] Add Deallocate support to the AllocatorBase CRTP class,
authorChandler Carruth <chandlerc@gmail.com>
Tue, 15 Apr 2014 00:47:47 +0000 (00:47 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 15 Apr 2014 00:47:47 +0000 (00:47 +0000)
commit159976c271283abdcd18e36f02a51c074ffa2895
treeb20e52af6a2c49b7dc0bf77cfe824fee4c9ae556
parentb980d6301fe56d5b904e306f25ed4c4aed8d3261
[Allocator] Add Deallocate support to the AllocatorBase CRTP class,
along with templated overloads much like we have for Allocate. These
will facilitate switching the Deallocate interface of all the Allocator
classes to accept the size by pre-filling it from the type size where we
can do so. I plan to convert several uses to the template variants in
subsequent patches prior to adding the Size parameter.

No functionality changed, WIP.

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