summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-14 05:37:36 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-14 05:37:36 +0000
commitb61bfbd93aae792229a672e027198390299ed5e7 (patch)
tree8fc90f80d14fe62f6adc9e1df6df99fd2ca86004 /llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
parente4f731b81308274ab2da8f0fed88420905760d42 (diff)
downloadbcm5719-llvm-b61bfbd93aae792229a672e027198390299ed5e7.tar.gz
bcm5719-llvm-b61bfbd93aae792229a672e027198390299ed5e7.zip
Add a destruct-on-exit function to ASTContext.
It looks like the only use of AddDeallocation is to indirectly call the destructors of objects. In one case I found (TypeAliasTemplateDecl::Common), the destructor is a nop, so registering it to run later seems pointless. All of the other *::Common types have non-trivial dtors, so deleting the useless AddDeallocation felt somewhat fragile. Happy to kill it + turn the is_trivial_dtor check into a static_assert if people think that'd be better. llvm-svn: 295029
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud