diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2023-10-02 00:12:25 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2023-10-14 13:52:30 +0200 |
commit | 06d8aee3aaa7928321acc6f7752aa5dee9661bf3 (patch) | |
tree | 3682efc24acd131ab8dbd1ffece619e722fb03f9 /gcc/combine.cc | |
parent | bc238c40df6c3aa5dc7629ba3ed9adba1c56f7a0 (diff) | |
download | gcc-06d8aee3aaa7928321acc6f7752aa5dee9661bf3.zip gcc-06d8aee3aaa7928321acc6f7752aa5dee9661bf3.tar.gz gcc-06d8aee3aaa7928321acc6f7752aa5dee9661bf3.tar.bz2 |
d: Reduce code duplication of writing generated files.
Small refactoring ahead of the next merge from upstream, where a few
more front-end routines will stop doing the file handling themselves.
gcc/d/ChangeLog:
* d-lang.cc (d_write_file): New function.
(d_parse_file): Reduce code duplication.
Diffstat (limited to 'gcc/combine.cc')
0 files changed, 0 insertions, 0 deletions