================ @@ -385,6 +385,13 @@ mlir::Type CIRGenTypes::convertType(QualType type) { break; } + case Type::Complex: { + const ComplexType *ct = cast<ComplexType>(ty); + mlir::Type elementTy = convertType(ct->getElementType()); ---------------- xlauko wrote:
```suggestion const auto *ct = mlir::cast<cir::ComplexType>(ty); mlir::Type elementTy = convertType(ct->getElementType()); ``` https://github.com/llvm/llvm-project/pull/141369 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits