[Sema] Fix a warning

This patch fixes:

  clang/lib/Sema/SemaType.cpp:9469:3: error: default label in switch
  which covers all enumeration values
  [-Werror,-Wcovered-switch-default]
This commit is contained in:
Kazu Hirata 2022-08-14 11:25:19 -07:00
parent e83408c6ee
commit c85abbe879
1 changed files with 0 additions and 2 deletions

View File

@ -9466,8 +9466,6 @@ QualType Sema::BuildUnaryTransformType(QualType BaseType, UTTKind UKind,
Result = BuiltinChangeSignedness(BaseType, UKind, Loc);
break;
}
default:
llvm_unreachable("unknown unary transform type");
}
return !Result.isNull()