================
@@ -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(),
----------------
AbdallahRashed wrote:

restored. thank you

https://github.com/llvm/llvm-project/pull/195539
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to