[clang] [CIR] Add undef handling to enable global lambdas (PR #169721)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 26 12:18:43 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();
----------------
andykaylor wrote:
Attributes are an uncommon thing in MLIR in that they don't have a location.
https://github.com/llvm/llvm-project/pull/169721
More information about the cfe-commits
mailing list