]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/analyzer/analyzer.h
analyzer: introduce namespace to avoid ODR clashes (PR 93307)
[thirdparty/gcc.git] / gcc / analyzer / analyzer.h
index 7fc6959c4607d11a1886412a2083c741a4157452..e84e6958cec84c994a257919b7fd12333a19da50 100644 (file)
@@ -24,6 +24,9 @@ along with GCC; see the file COPYING3.  If not see
 /* Forward decls of common types, with indentation to show inheritance.  */
 
 class graphviz_out;
+
+namespace ana {
+
 class supergraph;
 class supernode;
 class superedge;
@@ -68,6 +71,8 @@ class state_purge_per_ssa_name;
 class state_change;
 class rewind_info_t;
 
+} // namespace ana
+
 extern bool is_special_named_call_p (const gcall *call, const char *funcname,
                                     unsigned int num_args);
 extern bool is_named_call_p (tree fndecl, const char *funcname);