Restrict lvalue-to-rvalue conversions in CGExprConstant.
We were generating wrong code for cxx20-consteval-crash.cpp: instead of loading a value of a variable, we were using its address as the initializer. Found while adding code to verify the size of constant initializers. Differential Revision: https://reviews.llvm.org/D123648
parent
681b9466
Please register or sign in to comment