]> gcc.gnu.org Git - gcc.git/commit
genmatch: fixup get_out_file
authorAlexander Monakov <amonakov@ispras.ru>
Mon, 8 May 2023 17:16:01 +0000 (20:16 +0300)
committerAlexander Monakov <amonakov@ispras.ru>
Tue, 9 May 2023 09:57:15 +0000 (12:57 +0300)
commit153eafaa0b744955f01e6065bf8bf01aee2e8612
treeda9381f39a7aeb55f88aefc02d376c313900bbde
parent425198bb5d2e30aa5e1e756869a9e6d27e30fd72
genmatch: fixup get_out_file

get_out_file did not follow the coding conventions (mixing three-space
and two-space indentation, missing linebreak before function name).

Take that as an excuse to reimplement it in a more terse manner and
rename as 'choose_output', which is hopefully more descriptive.

gcc/ChangeLog:

* genmatch.cc (get_out_file): Make static and rename to ...
(choose_output): ... this. Reimplement. Update all uses ...
(decision_tree::gen): ... here and ...
(main): ... here.
gcc/genmatch.cc
This page took 0.056929 seconds and 5 git commands to generate.