aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/expr.cc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2022-05-24 09:07:22 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2022-05-24 09:07:22 -0400
commit442cf0977a2993940a81aac08134fcdde4fb3035 (patch)
tree248de6a6b1b04853f08ffd11ed66d16fb3a3849a /gcc/d/expr.cc
parentd44e471cf041d5a304f2b2bbc7d104fa17f0e9da (diff)
downloadgcc-442cf0977a2993940a81aac08134fcdde4fb3035.zip
gcc-442cf0977a2993940a81aac08134fcdde4fb3035.tar.gz
gcc-442cf0977a2993940a81aac08134fcdde4fb3035.tar.bz2
d: add 'final' and 'override' to gcc/d/*.cc 'visit' impls
gcc/d/ChangeLog: * decl.cc: Add "final" and "override" to all "visit" vfunc decls as appropriate. * expr.cc: Likewise. * toir.cc: Likewise. * typeinfo.cc: Likewise. * types.cc: Likewise. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/d/expr.cc')
-rw-r--r--gcc/d/expr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/expr.cc b/gcc/d/expr.cc
index 7f5e683..c259e7d 100644
--- a/gcc/d/expr.cc
+++ b/gcc/d/expr.cc
@@ -2556,7 +2556,7 @@ public:
/* Build a tuple literal. Just an argument list that may have
side effects that need evaluation. */
- void visit (TupleExp *e)
+ void visit (TupleExp *e) final override
{
tree result = NULL_TREE;