Skip to content

Commit 476374c

Browse files
committed
Address code review comment
1 parent ec9fb3c commit 476374c

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
@@ -388,7 +388,7 @@ mlir::Type CIRGenTypes::convertType(QualType type) {
388388
}
389389

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

0 commit comments

Comments
 (0)