]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/analyzer/state-purge.h
Update copyright years.
[thirdparty/gcc.git] / gcc / analyzer / state-purge.h
index e33733a6cc5bacc42f8d2521e46b7ae9ac1497c4..879013dbc170c4bbda57067ba2bc3d704727dda3 100644 (file)
@@ -1,5 +1,5 @@
 /* Classes for purging state at function_points.
-   Copyright (C) 2019-2020 Free Software Foundation, Inc.
+   Copyright (C) 2019-2021 Free Software Foundation, Inc.
    Contributed by David Malcolm <dmalcolm@redhat.com>.
 
 This file is part of GCC.
@@ -68,6 +68,8 @@ pod_hash_traits<function_point>::is_empty (value_type v)
   return v.get_kind () == PK_EMPTY;
 }
 
+namespace ana {
+
 /* The result of analyzing which SSA names can be purged from state at
    different points in the program, so that we can simplify program_state
    objects, in the hope of reducing state-blowup.  */
@@ -149,14 +151,17 @@ class state_purge_annotator : public dot_annotator
 public:
   state_purge_annotator (const state_purge_map *map) : m_map (map) {}
 
-  void add_node_annotations (graphviz_out *gv, const supernode &n)
+  bool add_node_annotations (graphviz_out *gv, const supernode &n, bool)
     const FINAL OVERRIDE;
 
-  void add_stmt_annotations (graphviz_out *gv, const gimple *stmt)
+  void add_stmt_annotations (graphviz_out *gv, const gimple *stmt,
+                            bool within_row)
     const FINAL OVERRIDE;
 
 private:
   const state_purge_map *m_map;
 };
 
+} // namespace ana
+
 #endif /* GCC_ANALYZER_STATE_PURGE_H */