diff options
Diffstat (limited to 'clang/lib/Basic/DiagnosticIDs.cpp')
-rw-r--r-- | clang/lib/Basic/DiagnosticIDs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Basic/DiagnosticIDs.cpp b/clang/lib/Basic/DiagnosticIDs.cpp index baee5aa8e02..643503b00b9 100644 --- a/clang/lib/Basic/DiagnosticIDs.cpp +++ b/clang/lib/Basic/DiagnosticIDs.cpp @@ -68,7 +68,7 @@ struct StaticDiagInfoRec { } }; -} // namespace +} // namespace anonymous static const StaticDiagInfoRec StaticDiagInfo[] = { #define DIAG(ENUM, CLASS, DEFAULT_SEVERITY, DESC, GROUP, SFINAE, NOWERROR, \ @@ -193,7 +193,7 @@ namespace { return StringRef(NameStr, NameLen); } }; -} // namespace +} // Unfortunately, the split between DiagnosticIDs and Diagnostic is not // particularly clean, but for now we just implement this method here so we can @@ -292,8 +292,8 @@ namespace clang { } }; - } // namespace diag -} // namespace clang + } // end diag namespace +} // end clang namespace //===----------------------------------------------------------------------===// @@ -497,7 +497,7 @@ namespace { DiagGroupNames[NameOffset]); } }; -} // namespace +} // Second the table of options, sorted by name for fast binary lookup. static const WarningOption OptionTable[] = { |