Author: alexfh
Date: Thu Mar 5 08:58:03 2015
New Revision: 231370
URL: http://llvm.org/viewvc/llvm-project?rev=231370&view=rev
Log:
[clang-tidy] Slighly clarified a comment.
Modified:
clang-tools-extra/trunk/unittests/clang-tidy/ReadabilityModuleTest.cpp
Modified: clang-tools-extra/trunk/unittests/clang-tidy/ReadabilityModuleTest.cpp
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-tidy/ReadabilityModuleTest.cpp?rev=231370&r1=231369&r2=231370&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-tidy/ReadabilityModuleTest.cpp
(original)
+++ clang-tools-extra/trunk/unittests/clang-tidy/ReadabilityModuleTest.cpp Thu
Mar 5 08:58:03 2015
@@ -89,7 +89,8 @@ TEST(NamespaceCommentCheckTest, FixWrong
"} // 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"
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits