Skip to content

Commit 9de711f

Browse files
committed
Address code review comment
1 parent 5817d9a commit 9de711f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ mlir::Type CIRGenTypes::convertType(QualType type) {
386386
}
387387

388388
case Type::Complex: {
389-
const auto *ct = mlir::cast<clang::ComplexType>(ty);
389+
const auto *ct = cast<clang::ComplexType>(ty);
390390
mlir::Type elementTy = convertType(ct->getElementType());
391391
resultType = cir::ComplexType::get(elementTy);
392392
break;

0 commit comments

Comments
 (0)