summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Basic
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/unittests/Basic
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/unittests/Basic')
-rw-r--r--clang/unittests/Basic/DiagnosticTest.cpp2
-rw-r--r--clang/unittests/Basic/SourceManagerTest.cpp2
-rw-r--r--clang/unittests/Basic/VirtualFileSystemTest.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/unittests/Basic/DiagnosticTest.cpp b/clang/unittests/Basic/DiagnosticTest.cpp
index fa2b56e0834..100fda4af5a 100644
--- a/clang/unittests/Basic/DiagnosticTest.cpp
+++ b/clang/unittests/Basic/DiagnosticTest.cpp
@@ -46,4 +46,4 @@ TEST(DiagnosticTest, suppressAndTrap) {
EXPECT_FALSE(Diags.hasUnrecoverableErrorOccurred());
}
-}
+} // namespace
diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp
index 494c27a2f1c..f087b69118d 100644
--- a/clang/unittests/Basic/SourceManagerTest.cpp
+++ b/clang/unittests/Basic/SourceManagerTest.cpp
@@ -271,7 +271,7 @@ public:
}
};
-}
+} // namespace
TEST_F(SourceManagerTest, isBeforeInTranslationUnitWithMacroInInclude) {
const char *header =
diff --git a/clang/unittests/Basic/VirtualFileSystemTest.cpp b/clang/unittests/Basic/VirtualFileSystemTest.cpp
index 71d2d2b60c0..fc3004ee799 100644
--- a/clang/unittests/Basic/VirtualFileSystemTest.cpp
+++ b/clang/unittests/Basic/VirtualFileSystemTest.cpp
@@ -279,7 +279,7 @@ struct ScopedDir {
}
operator StringRef() { return Path.str(); }
};
-}
+} // namespace
TEST(VirtualFileSystemTest, BasicRealFSIteration) {
ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true);
OpenPOWER on IntegriCloud