]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/analyzer/state-purge.h
analyzer: introduce namespace to avoid ODR clashes (PR 93307)
[thirdparty/gcc.git] / gcc / analyzer / state-purge.h
index e33733a6cc5bacc42f8d2521e46b7ae9ac1497c4..ee7d10c4c7160473daadcb4d3ccaf898d83dd14c 100644 (file)
@@ -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.  */
@@ -159,4 +161,6 @@ private:
   const state_purge_map *m_map;
 };
 
+} // namespace ana
+
 #endif /* GCC_ANALYZER_STATE_PURGE_H */