]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
analyzer: fix missing "final override"
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 23 Jun 2025 22:46:44 +0000 (18:46 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 23 Jun 2025 22:51:05 +0000 (18:51 -0400)
No functional change intended.

gcc/analyzer/ChangeLog:
* region-model.cc
(exception_thrown_from_unrecognized_call::print): Add
"final override" to vfunc.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/analyzer/region-model.cc

index d1c7e8cd53ead0b55dcd6b4c9bc0dae5232ae2d2..bc44d3da44b535fd80711cdbed58b2e12b668d90 100644 (file)
@@ -2090,7 +2090,7 @@ public:
   {
   }
 
-  void print (pretty_printer *pp) const
+  void print (pretty_printer *pp) const final override
   {
     if (m_fndecl)
       pp_printf (pp, "if %qD throws an exception...", m_fndecl);