mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-27 18:28:14 +00:00
Fix MSVC warning: "switch statement contains 'default' but no 'case' labels". NFCI.
llvm-svn: 298225
This commit is contained in:
parent
931904d777
commit
5fa1b9a12f
@ -54,10 +54,7 @@ std::string AMDGPUIntrinsicInfo::getName(unsigned IntrID, Type **Tys,
|
||||
FunctionType *AMDGPUIntrinsicInfo::getType(LLVMContext &Context, unsigned ID,
|
||||
ArrayRef<Type*> Tys) const {
|
||||
// FIXME: Re-use Intrinsic::getType machinery
|
||||
switch (ID) {
|
||||
default:
|
||||
llvm_unreachable("unhandled intrinsic");
|
||||
}
|
||||
llvm_unreachable("unhandled intrinsic");
|
||||
}
|
||||
|
||||
unsigned AMDGPUIntrinsicInfo::lookupName(const char *NameData,
|
||||
|
Loading…
Reference in New Issue
Block a user