efriedma-quic wrote:

The reason to do the conversions first is that sometimes you can't evaluate the 
unconverted value.  For example, you can do `struct S { int x; constexpr 
operator unsigned int() const { return x; } }; constexpr S x = {1}; void *f() { 
return __builtin_frame_address(x);}`.

https://github.com/llvm/llvm-project/pull/221477
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to