mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-28 22:21:31 +03:00
Avoid switch warning in irtype.cpp.
This commit is contained in:
parent
8f5f93057c
commit
009ce6e161
1 changed files with 3 additions and 3 deletions
|
@ -112,10 +112,10 @@ const llvm::Type * IrTypeBasic::basic2llvm(Type* t)
|
|||
|
||||
case Tbool:
|
||||
return llvm::Type::getInt1Ty(ctx);
|
||||
default:
|
||||
assert(0 && "not basic type");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
assert(0 && "not basic type");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue