mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 23:20:40 +03:00
Merge current development state of 2.067
First merge of current development stream. Asm blocks are known to be broken. DMD: 0c9f437bc24015707130ba42dc434d9cd58282fb druntime: 86d49cfb3670904603df0cfdfe44c6fff565c0fc Phobos: a8ca4f7964becac680af0eadbde05aa7d10fc338
This commit is contained in:
parent
2bcf8880d1
commit
a2748cd2fd
95 changed files with 8240 additions and 7214 deletions
|
@ -569,13 +569,6 @@ static bool isInitialized(Type* et) {
|
|||
et = bt->nextOf();
|
||||
bt = et->toBasetype();
|
||||
}
|
||||
// If it's a typedef with "= void" initializer then don't initialize.
|
||||
if (et->ty == Ttypedef) {
|
||||
IF_LOG Logger::println("Typedef: %s", et->toChars());
|
||||
TypedefDeclaration* tdd = static_cast<TypeTypedef*>(et)->sym;
|
||||
if (tdd && tdd->init && tdd->init->isVoidInitializer())
|
||||
return false;
|
||||
}
|
||||
// Otherwise, it's always initialized.
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue