Richard Smith <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <> ---
Clang is correct. In order for a call to a constexpr function to be evaluated
at compile time, it must be possible to (symbolically) evaluate all of its
arguments. In the failing case, it is not possible to evaluate the value of the
implicit 'this' parameter. In the successful case, it evaluates symbolically to
the address of the caller's parameter.

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to