From ab9db51042d1b821d324a209f3ba37e5ee7525a7 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Mon, 22 Jun 2015 23:07:51 +0000 Subject: Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). llvm-svn: 240353 --- clang/lib/Basic/DiagnosticIDs.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'clang/lib/Basic/DiagnosticIDs.cpp') 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[] = { -- cgit v1.2.3