d: Remove another dependency on the front-end OutBuffer type.
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 23 Jun 2020 16:08:54 +0000 (18:08 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 25 Jun 2020 15:02:46 +0000 (17:02 +0200)
commite52f5d0786fce4ef6ae5937ab33e871c59da3c99
treef3265654eb4df5a4fbb8fc5ea750e01f78fce9be
parentd103f336bdc3144e756c7634b8914830c867896d
d: Remove another dependency on the front-end OutBuffer type.

As the DMD front-end never frees allocated memory, the glue layer
between the DMD front-end and GCC should generally avoid using DMD types
and interfaces if the purpose is internal only.

gcc/d/ChangeLog:

* d-lang.cc (d_parse_file): Replace OutBuffer with obstack.
gcc/d/d-lang.cc