summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/DiagnosticIDs.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-22 09:47:44 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-22 09:47:44 +0000
commit3d9d929e42028c353b0579a1a925391319664a60 (patch)
tree9fa63e425da0b4e62d2ddc1814b1f6069c7da892 /clang/lib/Basic/DiagnosticIDs.cpp
parentfaf4b655accf9fead77456243fd98da7fca46a20 (diff)
downloadbcm5719-llvm-3d9d929e42028c353b0579a1a925391319664a60.tar.gz
bcm5719-llvm-3d9d929e42028c353b0579a1a925391319664a60.zip
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command: $ tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ work/llvm/tools/clang To reduce churn, not touching namespaces spanning less than 10 lines. llvm-svn: 240270
Diffstat (limited to 'clang/lib/Basic/DiagnosticIDs.cpp')
-rw-r--r--clang/lib/Basic/DiagnosticIDs.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Basic/DiagnosticIDs.cpp b/clang/lib/Basic/DiagnosticIDs.cpp
index 643503b00b9..baee5aa8e02 100644
--- a/clang/lib/Basic/DiagnosticIDs.cpp
+++ b/clang/lib/Basic/DiagnosticIDs.cpp
@@ -68,7 +68,7 @@ struct StaticDiagInfoRec {
}
};
-} // namespace anonymous
+} // namespace
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 {
}
};
- } // end diag namespace
-} // end clang namespace
+ } // namespace diag
+} // namespace clang
//===----------------------------------------------------------------------===//
@@ -497,7 +497,7 @@ namespace {
DiagGroupNames[NameOffset]);
}
};
-}
+} // namespace
// Second the table of options, sorted by name for fast binary lookup.
static const WarningOption OptionTable[] = {
OpenPOWER on IntegriCloud