[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:15:52 PST 2025


================
@@ -254,6 +254,7 @@ class CIRAttrToValue {
   mlir::Value visitCirAttr(cir::ConstVectorAttr attr);
   mlir::Value visitCirAttr(cir::GlobalViewAttr attr);
   mlir::Value visitCirAttr(cir::TypeInfoAttr attr);
+  mlir::Value visitCirAttr(cir::UndefAttr attr);
----------------
erichkeane wrote:

This list could/should probably be tablegen'ed/macro'ed too (in a future patch).

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


More information about the cfe-commits mailing list