summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-03-05 14:58:03 +0000
committerAlexander Kornienko <alexfh@google.com>2015-03-05 14:58:03 +0000
commit333d81121dd7169806b3a6a467e0913b5dbdc812 (patch)
treed2569c794eabbffc16d1cdd40ec8395c6e0da6ff /clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp
parentda4ebb219b620fb04fe641bbb89eed351d656ad4 (diff)
downloadbcm5719-llvm-333d81121dd7169806b3a6a467e0913b5dbdc812.tar.gz
bcm5719-llvm-333d81121dd7169806b3a6a467e0913b5dbdc812.zip
[clang-tidy] Slighly clarified a comment.
llvm-svn: 231370
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp')
-rw-r--r--clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp b/clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp
index 70e320b6c03..8fdfe40bc77 100644
--- a/clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp
+++ b/clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp
@@ -89,7 +89,8 @@ TEST(NamespaceCommentCheckTest, FixWrongComments) {
"} // namespace",
runCheckOnCode<NamespaceCommentCheck>("namespace {\n"
"} // namespace asdf"));
- // Remove unknown comments.
+ // Remove unknown line comments. These are likely to be an unrecognized form
+ // of a namespace ending comment.
EXPECT_EQ("namespace {\n"
"} // namespace",
runCheckOnCode<NamespaceCommentCheck>("namespace {\n"
OpenPOWER on IntegriCloud