================
@@ -181,21 +183,23 @@ class ComplexExprEmitter
// here.
if (E->changesVolatileQualification())
return EmitLoadOfLValue(E);
- return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType());
+ return EmitCast(E->getCastKind(), E->getSubExpr(),
+ E->getType().getAtomicUnqualifiedType());
----------------
efriedma-quic wrote:
This seems like it's adding code in too many places; this is modifying both
EmitCast and the callers of EmitCast.
https://github.com/llvm/llvm-project/pull/172163
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits