HomePhabricator

For P0784R7: compute whether a variable has constant destruction if it has a…

Authored by Richard Smith <richard-llvm@metafoo.co.uk> on Sep 28 2019, 10:08 PM.

Description

For P0784R7: compute whether a variable has constant destruction if it has a constexpr destructor.

For constexpr variables, reject if the variable does not have constant
destruction. In all cases, do not emit runtime calls to the destructor
for variables with constant destruction.

llvm-svn: 373159

Event Timeline

Richard Smith <richard-llvm@metafoo.co.uk> committed rG2b4fa5348ee1: For P0784R7: compute whether a variable has constant destruction if it has a… (authored by Richard Smith <richard-llvm@metafoo.co.uk>).Sep 28 2019, 10:08 PM