https://llvm.org/bugs/show_bug.cgi?id=30712
Richard Smith <richard-l...@metafoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |richard-l...@metafoo.co.uk Resolution|--- |INVALID --- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> --- 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 llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs