[cfe-commits] r141768 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/AST/DeclCXX.cpp lib/Sema/SemaType.cpp test/CXX/basic/basic.types/p10.cpp

Douglas Gregor dgregor at apple.com
Wed Oct 12 09:09:21 PDT 2011

On Oct 11, 2011, at 10:08 PM, Richard Smith wrote:

> Author: rsmith
> Date: Wed Oct 12 00:08:15 2011
> New Revision: 141768
> URL: http://llvm.org/viewvc/llvm-project?rev=141768&view=rev
> Log:
> 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.

Can you explain a bit? We can't assign to the mutable variables anyway.

And… have you submitted a core issue on this?

	- Doug

More information about the cfe-commits mailing list