[clang] Cir cuda builtin vars (PR #195539)

Akimasa Watanuki via cfe-commits cfe-commits at lists.llvm.org
Tue May 5 06:40:42 PDT 2026


================
@@ -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


More information about the cfe-commits mailing list