================
@@ -1114,14 +1105,8 @@ emitPseudoObjectExpr(CIRGenFunction &cgf, const
PseudoObjectExpr *e,
if (forLValue)
result = cgf.emitLValue(semantic);
else
- cgf.cgm.errorNYI(
- e->getSourceRange(),
- "emitPseudoObjectExpr as an RValue, when semantic is result");
+ result = cgf.emitAnyExpr(semantic, slot);
} else {
- // FIXME: best I can tell, this is only reachable as an r-value, so this
----------------
Men-cotton wrote:
Don't delete.
https://github.com/llvm/llvm-project/pull/195539
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits