These were copy&paste errors.

Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r13-1847-g0460ba622e833d.

gcc/analyzer/ChangeLog:
        * region.h (code_region::get_element): Remove stray decl.
        (function_region::get_element): Likewise.

Signed-off-by: David Malcolm <dmalc...@redhat.com>
---
 gcc/analyzer/region.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/gcc/analyzer/region.h b/gcc/analyzer/region.h
index fd0d4a05cc9..1067748a7cd 100644
--- a/gcc/analyzer/region.h
+++ b/gcc/analyzer/region.h
@@ -400,10 +400,6 @@ public:
   /* region vfuncs.  */
   void dump_to_pp (pretty_printer *pp, bool simple) const final override;
   enum region_kind get_kind () const final override { return RK_CODE; }
-
-  const region *get_element (region_model *model,
-                       const svalue *index,
-                       region_model_context *ctxt);
 };
 
 } // namespace ana
@@ -439,10 +435,6 @@ public:
 
   tree get_fndecl () const { return m_fndecl; }
 
-  region *get_element (region_model *model,
-                       const svalue *index_sid,
-                       region_model_context *ctxt);
-
 private:
   tree m_fndecl;
 };
-- 
2.26.3

Reply via email to