mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
Use llvm_unreachable instead of assert(0).
Also removed some unused functions.
This commit is contained in:
@@ -101,7 +101,7 @@ static llvm::DIType dwarfBasicType(Type* type)
|
||||
}
|
||||
else
|
||||
{
|
||||
assert(0 && "unsupported basictype for debug info");
|
||||
llvm_unreachable("unsupported basic type for debug info");
|
||||
}
|
||||
|
||||
return gIR->dibuilder.createBasicType(
|
||||
|
||||
Reference in New Issue
Block a user