commit | 6391ea2897b595178a8a97e5080f59a6f55ce442 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu May 09 07:14:00 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu May 09 07:14:00 2013 +0000 |
tree | 2986ecceb0dc3fd9f904947ef41691e6b141fc6f | |
parent | afde200cdae9731aa5826c6178eae9e7fef74475 [diff] |
Implement C++1y constant initializer rules: in a constant initializer for an object x, x's subobjects can be constructed by constexpr constructor even if they are of non-literal type, and can be read and written even though they're not members of a constexpr object or temporary. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181506 91177308-0d34-0410-b5e6-96231b3b80d8