commit | ec789163a42a7be654ac34aadb750b508954d53c | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Jan 12 18:54:33 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Jan 12 18:54:33 2012 +0000 |
tree | 6546d1b5f6eb005f81af63726a6ea314f132001b | |
parent | 37969b7e14d6a4dfd934ef6d3738cc90b832ec1d [diff] |
constexpr: initialization of a union from an empty initializer-list should zero-initialize the first union member. Also fix a bug where initializing an array of types compatible with wchar_t from a wide string literal failed in C, and fortify the C++ tests in this area. This part can't be tested without a code change to enable array evaluation in C (where an existing test fails). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148035 91177308-0d34-0410-b5e6-96231b3b80d8