commit | e67ca5803ac9e39cc31ed1ad9576e1626c8141eb | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Sun Jun 02 00:09:52 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Sun Jun 02 00:09:52 2013 +0000 |
tree | 23c41f886e675e2f4ec708789544fee113084129 | |
parent | 0348be0c78781c5ddb8c271976812705410c731a [diff] |
PR12848: When emitting a local variable declared 'constexpr', always initialize it with a store or a memcpy, not by emitting the initializer expression. This is not required for correctness, but more closely aligns with people's expectations, and is cheap (since we've already evaluated the initializer). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183082 91177308-0d34-0410-b5e6-96231b3b80d8