[clang] [CIR] Upstream initial for-loop support (PR #132266)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 20 11:24:47 PDT 2025


================
@@ -165,6 +165,25 @@ LValue CIRGenFunction::emitDeclRefLValue(const DeclRefExpr *e) {
   return LValue();
 }
 
+mlir::Value CIRGenFunction::evaluateExprAsBool(const Expr *e) {
----------------
erichkeane wrote:

This should only be necessary in C, right?  Where 'bool' isn't available.  SO how would this work?

https://github.com/llvm/llvm-project/pull/132266


More information about the cfe-commits mailing list