]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/analyzer/pending-diagnostic.h
analyzer: introduce namespace to avoid ODR clashes (PR 93307)
[thirdparty/gcc.git] / gcc / analyzer / pending-diagnostic.h
index 6132fcfa481c06327d0530571f647c43ff49c039..b1ff2688bcc7d224c853fe6ad120144ff1630634 100644 (file)
@@ -21,6 +21,8 @@ along with GCC; see the file COPYING3.  If not see
 #ifndef GCC_ANALYZER_PENDING_DIAGNOSTIC_H
 #define GCC_ANALYZER_PENDING_DIAGNOSTIC_H
 
+namespace ana {
+
 /* Various bundles of information used for generating more precise
    messages for events within a diagnostic_path, for passing to the
    various "describe_*" vfuncs of pending_diagnostic.  See those
@@ -267,4 +269,6 @@ class pending_diagnostic_subclass : public pending_diagnostic
   }
 };
 
+} // namespace ana
+
 #endif /* GCC_ANALYZER_PENDING_DIAGNOSTIC_H */