From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id E3F2A385AE53; Thu, 28 Jul 2022 12:10:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E3F2A385AE53 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/sphinx] analyzer: fix stray get_element decls X-Act-Checkin: gcc X-Git-Author: David Malcolm X-Git-Refname: refs/heads/devel/sphinx X-Git-Oldrev: cad8f2e62d6df769feea8ee30b507381764d18d1 X-Git-Newrev: 4b15027355e4bd4349b0f8d6a338647a4e3cc48b Message-Id: <20220728121002.E3F2A385AE53@sourceware.org> Date: Thu, 28 Jul 2022 12:10:02 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2022 12:10:03 -0000 https://gcc.gnu.org/g:4b15027355e4bd4349b0f8d6a338647a4e3cc48b commit 4b15027355e4bd4349b0f8d6a338647a4e3cc48b Author: David Malcolm Date: Tue Jul 26 14:43:59 2022 -0400 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 Diff: --- 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; };