================
@@ -55,7 +55,7 @@ bool isCXXABIAttributeLegal(const mlir::TypeConverter &tc,
// can have a data member/method.
if (isa<mlir::DenseArrayAttr, mlir::FloatAttr, mlir::UnitAttr,
mlir::StringAttr, mlir::IntegerAttr, mlir::SymbolRefAttr,
- cir::AnnotationAttr>(attr))
+ cir::AnnotationAttr, cir::SanitizeAttr>(attr))
----------------
xlauko wrote:
Use `let canHaveIllegalCXXABIType = 0;` on the `CIR_SanitizeAttr` instead, this
`isa` is a legacy path.
https://github.com/llvm/llvm-project/pull/220625
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits