mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 01:20:51 +03:00
Adapt to TY enum class
This commit is contained in:
parent
9dabd0ba16
commit
369cfd13ce
42 changed files with 512 additions and 494 deletions
|
@ -43,7 +43,7 @@ IrTypeDelegate::IrTypeDelegate(Type *dt, llvm::Type *lt, IrFuncTy irFty_)
|
|||
: IrType(dt, lt), irFty(std::move(irFty_)) {}
|
||||
|
||||
IrTypeDelegate *IrTypeDelegate::get(Type *t) {
|
||||
assert(t->ty == Tdelegate);
|
||||
assert(t->ty == TY::Tdelegate);
|
||||
TypeFunction *tf = t->nextOf()->isTypeFunction();
|
||||
assert(tf);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue