commit | 5fa6a0422f12216d549d0f2991a29d5690634065 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Oct 12 05:08:15 2011 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Oct 12 05:08:15 2011 +0000 |
tree | f7ff1a70a40287cd2027094a4d059fb8fd4bc54a | |
parent | c6bfbca5733f1fc090b2149c4fff0548f1f15526 [diff] |
constexpr: don't consider class types with mutable members to be literal types. The standard doesn't allow this, but mutable constexpr variables break the semantics so badly that we can't reasonably accept them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141768 91177308-0d34-0410-b5e6-96231b3b80d8