================
@@ -95,6 +95,8 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
return getZeroAttr(arrTy);
if (auto ptrTy = mlir::dyn_cast<cir::PointerType>(ty))
return getConstNullPtrAttr(ptrTy);
+ if (auto RecordTy = mlir::dyn_cast<cir::RecordType>(ty))
----------------
AmrDeveloper wrote:
NIT
`if (auto recordTy = mlir::dyn_cast<cir::RecordType>(ty))`
https://github.com/llvm/llvm-project/pull/135844
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits