public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-8639] analyzer: fix stray get_element decls
@ 2022-07-27 21:56 David Malcolm
  0 siblings, 0 replies; only message in thread
From: David Malcolm @ 2022-07-27 21:56 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7455e982f09832418fd98b7b0c2152eb7e3c1765

commit r12-8639-g7455e982f09832418fd98b7b0c2152eb7e3c1765
Author: David Malcolm <dmalcolm@redhat.com>
Date:   Wed Jul 27 17:38:55 2022 -0400

    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>

Diff:
---
 gcc/analyzer/region.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/gcc/analyzer/region.h b/gcc/analyzer/region.h
index 5150be76d0b..b5855c5b2f9 100644
--- a/gcc/analyzer/region.h
+++ b/gcc/analyzer/region.h
@@ -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;
 };


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-27 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 21:56 [gcc r12-8639] analyzer: fix stray get_element decls David Malcolm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).