c++: Refactor final cleanup
authorNathan Sidwell <nathan@acm.org>
Fri, 11 Dec 2020 18:05:41 +0000 (10:05 -0800)
committerNathan Sidwell <nathan@acm.org>
Fri, 11 Dec 2020 19:15:30 +0000 (11:15 -0800)
commit02fc65c7263c75d222758d6c652b83e543872edf
treef10640baf5bf85df6d188a8697a93aa28dc9f2e5
parent755cf781f2eb3a6317af90bf3b12206b0fc54a96
c++: Refactor final cleanup

This is a small refactor of the end of decl processing, into which
dropping module support will be simpler.

gcc/cp/
* decl2.c (c_parse_final_cleanups): Refactor loop.
gcc/cp/decl2.c