aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-08-04 12:34:23 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-08-04 12:34:23 +0000
commit2ab0d88b9120c89aaf5c99dfc3779e276443774a (patch)
tree6115212497e07a424fa1b34af6001b725eddef47 /llvm/lib/CodeGen/MachineFunction.cpp
parentfbe7a2e8411d124aa2ce4a8f5e821aa9ab76913a (diff)
downloadllvm-2ab0d88b9120c89aaf5c99dfc3779e276443774a.zip
llvm-2ab0d88b9120c89aaf5c99dfc3779e276443774a.tar.gz
llvm-2ab0d88b9120c89aaf5c99dfc3779e276443774a.tar.bz2
[ASTContext] Add a templated convenience wrapper for Allocate.
This brings ASTContext closer to LLVM's Allocator concept. Ideally we would just derive ASTContext from llvm::AllocatorBase, but that does not work because ASTContext's allocator is mutable and we allocate using const ASTContext& everywhere. llvm-svn: 243972
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions