Skip to content
Commit b01fe40c authored by Richard Smith's avatar Richard Smith
Browse files

Reject a slightly-sneaky way to perform a read of mutable state from within a

constexpr function. Part of this fix is a tentative fix for an as-yet-unfiled
core issue (we're missing a prohibition against reading mutable members from
unions via a trivial constructor/assignment, since that doesn't perform an
lvalue-to-rvalue conversion on the members).

llvm-svn: 217852
parent 74acb46d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment