================
@@ -1096,15 +1092,10 @@ emitPseudoObjectExpr(CIRGenFunction &cgf, const
PseudoObjectExpr *e,
// If this is the result, also evaluate the result now.
if (ov == resultExpr) {
- // FIXME: This doesn't really affect anything, but I cannot find a
- // test for this, so leave an ErrorNYI here until we can find one.
- cgf.cgm.errorNYI(e->getSourceRange(),
- "emitPseudoObjectExpr as result");
if (forLValue)
result = cgf.emitLValue(ov);
else
- cgf.cgm.errorNYI(e->getSourceRange(),
----------------
Men-cotton wrote:
This part is not tested. Please revert it or add tests.
https://github.com/llvm/llvm-project/pull/195539
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits