analyzer: fix stray get_element decls

(cherry picked from r13-1847-g0460ba622e833d)

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>
This commit is contained in:
David Malcolm 2022-07-27 17:38:55 -04:00
parent 71a4f739c2
commit 7455e982f0
1 changed files with 0 additions and 8 deletions

View File

@ -396,10 +396,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
@ -435,10 +431,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;
};