[clang] [CIR] Add undef handling to enable global lambdas (PR #169721)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 26 12:22:46 PST 2025
================
@@ -591,6 +592,13 @@ mlir::Value CIRAttrToValue::visitCirAttr(cir::TypeInfoAttr typeInfoAttr) {
return result;
}
+/// UndefAttr visitor.
+mlir::Value CIRAttrToValue::visitCirAttr(cir::UndefAttr undefAttr) {
+ mlir::Location loc = parentOp->getLoc();
----------------
erichkeane wrote:
Ah! That makes sense then :) Thanks!
https://github.com/llvm/llvm-project/pull/169721
More information about the cfe-commits
mailing list