[clang] [CIR] Upstream TypeInfo attribute (PR #159426)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 18 09:57:37 PDT 2025


================
@@ -521,6 +522,20 @@ mlir::Value CIRAttrToValue::visitCirAttr(cir::GlobalViewAttr globalAttr) {
   llvm_unreachable("Expecting pointer or integer type for GlobalViewAttr");
 }
 
+// TypeInfoAttr visitor.
+mlir::Value CIRAttrToValue::visitCirAttr(cir::TypeInfoAttr typeinfoArr) {
----------------
AmrDeveloper wrote:

Should we rename it to `typeInfo` or `typeInfoAttr` similar to other parameters in visitors?

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


More information about the cfe-commits mailing list