commit | 3e9704981d7691fdd44913bf1786e8d760d8a627 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Tue Jan 27 21:25:57 2009 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Tue Jan 27 21:25:57 2009 +0000 |
tree | f12080dcb7a2121faf5e46c34bb20774292b73c0 | |
parent | 6262cc40d8108a13e6a7e96e1b2c91d8e1b9c2dc [diff] |
Remove many references to ASTContext::getAllocator(), replacing them with calls to the recently added placement new (which uses ASTContext's allocator for memory). Also added ASTContext::Deallocate(). This will simplify runtime replacement of ASTContext's allocator. Keeping the allocator private (and removing getAllocator() entirely) is also goodness. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63135 91177308-0d34-0410-b5e6-96231b3b80d8