]> granicus.if.org Git - clang/commit
Provide a placement new taking an ASTContext argument.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 20 Jan 2009 22:23:13 +0000 (22:23 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 20 Jan 2009 22:23:13 +0000 (22:23 +0000)
commite91b3bc1624ec877862e5d276f1b6f5026fe71e3
treeed6229bed30c0ffe838146bb25b80d619913593c
parent09abfea5b6fbe8ac98b2943034e53ab13b0acd07
Provide a placement new taking an ASTContext argument.
This allows more concise syntax when allocating an object using the ASTContext's allocator.
Convert a few allocations to this operator to for test purposes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62623 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/Sema/SemaExpr.cpp