forked from OSchip/llvm-project
[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:
parent
e83408c6ee
commit
c85abbe879
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue