public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-8970] d: Remove "final" and "override" from visitor method.
@ 2022-12-11 18:14 Iain Buclaw
  0 siblings, 0 replies; only message in thread
From: Iain Buclaw @ 2022-12-11 18:14 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:db8e3439ae4089ac27e542ff8f9e64a7aa093d67

commit r12-8970-gdb8e3439ae4089ac27e542ff8f9e64a7aa093d67
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sun Dec 11 19:08:01 2022 +0100

    d: Remove "final" and "override" from visitor method.
    
    This was added by the backport of an ICE in r12-8969.  While harmless,
    it was not until r13-758 that "final" and "override" were introduced to
    all visitor methods in the D front-end.  Removing it from the release
    branch just for consistency with the rest of the file.
    
    gcc/d/ChangeLog:
    
            * imports.cc (ImportVisitor::visit (OverloadSet *)): Remove "final"
            and "override" from visitor method.

Diff:
---
 gcc/d/imports.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/d/imports.cc b/gcc/d/imports.cc
index 4ce6f026b29..dfda2401ee8 100644
--- a/gcc/d/imports.cc
+++ b/gcc/d/imports.cc
@@ -161,7 +161,7 @@ public:
   }
 
   /* Build IMPORTED_DECLs for all overloads in a set.  */
-  void visit (OverloadSet *d) final override
+  void visit (OverloadSet *d)
   {
     vec<tree, va_gc> *tset = NULL;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-11 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-11 18:14 [gcc r12-8970] d: Remove "final" and "override" from visitor method Iain Buclaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).