]> git.ipfire.org Git - thirdparty/gcc.git/commit
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)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:15:01 +0000 (13:15 -0300)
commite4ff40b9a5ad956574185592a415e31c9726d8a3
tree45ffb8b819c24a74b2aea3f9823f0b8f30f3d7c1
parent80c6dc34bc34edb55602e23a22ebc943a3a15468
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