Make Allocate<T>() return a T* instead of a void*. And use
authorDan Gohman <gohman@apple.com>
Tue, 24 Jun 2008 17:49:26 +0000 (17:49 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 24 Jun 2008 17:49:26 +0000 (17:49 +0000)
commitf4dc289cea5dbfa272b54a8436a6bda6b226cee2
tree170c603ae90f74c5bcfcd5412602472532d5dda7
parentb70e4528200568b500a1ad4bff40686741070b68
Make Allocate<T>() return a T* instead of a void*. And use
static_cast instead of reinterpret_cast.

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