Replace idgen with CTFE implementation

Since id.h is not necessary anymore in DMD it's just as easy to
implement the same functionality using CTFE. This will also simplify
the build process because one extra build step is removed.

`extern(C++)` is removed as well because it will only be called from
within D code in DMD. Other compilers should keep their own cache if
they want to.
This commit is contained in:
Jacob Carlborg 2017-05-28 20:03:28 +02:00
parent f189b2d080
commit 326e097ea9
6 changed files with 98 additions and 146 deletions

2
.gitignore vendored
View file

@ -1,8 +1,6 @@
*.[oa]
*.deps
src/dmd
src/ddmd/id.d
src/ddmd/id.h
test/test_results
test/trace.def
test/trace.log