diff options
author | David Malcolm <dmalcolm@redhat.com> | 2022-07-26 14:43:59 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2022-07-26 14:43:59 -0400 |
commit | 0460ba622e833db5cc1cc793201762bbbd30af6b (patch) | |
tree | 7d3d4ea61217404b60ec4ffe4fa418e2c35484d2 /gcc/analyzer/region.h | |
parent | 600956c81c784f4a0cc9d10f6e03e01847afd961 (diff) | |
download | gcc-0460ba622e833db5cc1cc793201762bbbd30af6b.zip gcc-0460ba622e833db5cc1cc793201762bbbd30af6b.tar.gz gcc-0460ba622e833db5cc1cc793201762bbbd30af6b.tar.bz2 |
analyzer: fix stray get_element decls
These were copy&paste errors.
gcc/analyzer/ChangeLog:
* region.h (code_region::get_element): Remove stray decl.
(function_region::get_element): Likewise.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/analyzer/region.h')
-rw-r--r-- | gcc/analyzer/region.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/analyzer/region.h b/gcc/analyzer/region.h index fd0d4a0..1067748 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; }; |