mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-29 14:40:40 +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,11 +112,11 @@ const llvm::Type * IrTypeBasic::basic2llvm(Type* t)
|
||||||
|
|
||||||
case Tbool:
|
case Tbool:
|
||||||
return llvm::Type::getInt1Ty(ctx);
|
return llvm::Type::getInt1Ty(ctx);
|
||||||
}
|
default:
|
||||||
|
|
||||||
assert(0 && "not basic type");
|
assert(0 && "not basic type");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue