dmd2 --> ddmd. Merge (almost all of) our changes to dmd source into the new D source of dmd 2.069.2.

Also adds the CMake infrastructure to compile and link the D source files.

The build is partially broken:
- A few files in Phobos and druntime do not build
- MSVC build is broken because of unresolved symbols involving reals
This commit is contained in:
Johan Engelen 2016-01-28 19:03:58 +01:00
parent 9ae8ce6165
commit 29ce4012af
234 changed files with 3188 additions and 131299 deletions

View file

@ -260,7 +260,7 @@ void DtoArrayAssign(Loc &loc, DValue *lhs, DValue *rhs, int op,
// Be careful to handle void arrays correctly when modifying this (see tests
// for DMD issue 7493).
// TODO: This should use AssignExp::ismemset.
// TODO: This should use AssignExp::memset.
LLValue *realRhsArrayPtr =
(t2->ty == Tarray || t2->ty == Tsarray ? DtoArrayPtr(rhs) : nullptr);
if (realRhsArrayPtr && realRhsArrayPtr->getType() == realLhsPtr->getType()) {