[LLVMbugs] [Bug 22474] clang incorrectly accepts constexpr variable which is initialized by non-constexpr variable.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 5 11:31:44 PST 2015


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Clang is correct. The copy constructor of A does not read from a, so this code
does not violate any of the constexpr evaluation rules.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150205/b34b39f7/attachment.html>

More information about the llvm-bugs mailing list