d: add more 'final' and 'override' to gcc/d/*.cc 'visit' impls
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 25 May 2022 10:33:34 +0000 (12:33 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Wed, 25 May 2022 11:12:53 +0000 (13:12 +0200)
commit329417d775102803e0321b95ba932a64870ba677
treec4493acf79e7d912d2f8db43f382239a1e91091a
parent19aec65ae13c991d76d29076f4088c0a065e241b
d: add more 'final' and 'override' to gcc/d/*.cc 'visit' impls

The first round of adding these missed several more cases in other
files where the Visitor pattern is used in the D front-end.

gcc/d/ChangeLog:

* expr.cc: Add "final" and "override" to all "visit" vfunc decls
as appropriate.
* imports.cc: Likewise.
* typeinfo.cc: Likewise.

Signed-off-by: Iain Buclaw <ibuclaw@gdcproject.org>
gcc/d/expr.cc
gcc/d/imports.cc
gcc/d/typeinfo.cc