================
@@ -1191,7 +1193,16 @@ LValue CIRGenFunction::emitCastLValue(const CastExpr *e)
{
case CK_Dynamic:
case CK_ToUnion:
case CK_BaseToDerived:
- case CK_AddressSpaceConversion:
+ case CK_AddressSpaceConversion: {
----------------
andykaylor wrote:
The cast types above will fall through here. You don't want that. Move this
below the CK_LValueBitCast handler.
https://github.com/llvm/llvm-project/pull/161212
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits