]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/analyzer/sm-file.cc
analyzer: introduce namespace to avoid ODR clashes (PR 93307)
[thirdparty/gcc.git] / gcc / analyzer / sm-file.cc
index f731981b0f512a17d48c6958eeb06fcca1ac98d7..1144492653835446a9c3e866bf7df20ae8c1f248 100644 (file)
@@ -39,6 +39,8 @@ along with GCC; see the file COPYING3.  If not see
 
 #if ENABLE_ANALYZER
 
+namespace ana {
+
 namespace {
 
 /* A state machine for detecting misuses of <stdio.h>'s FILE * API.  */
@@ -434,4 +436,6 @@ analyzer_sm_file_cc_tests ()
 
 #endif /* CHECKING_P */
 
+} // namespace ana
+
 #endif /* #if ENABLE_ANALYZER */