[clang-tools-extra] r231267 - [clang-tidy] Fix namespace comments. NFC.

Alexander Kornienko alexfh at google.com
Wed Mar 4 10:01:10 PST 2015


Author: alexfh
Date: Wed Mar  4 12:01:10 2015
New Revision: 231267

URL: http://llvm.org/viewvc/llvm-project?rev=231267&view=rev
Log:
[clang-tidy] Fix namespace comments. NFC.

Modified:
    clang-tools-extra/trunk/clang-tidy/readability/ContainerSizeEmpty.cpp
    clang-tools-extra/trunk/clang-tidy/readability/ShrinkToFitCheck.cpp

Modified: clang-tools-extra/trunk/clang-tidy/readability/ContainerSizeEmpty.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/readability/ContainerSizeEmpty.cpp?rev=231267&r1=231266&r2=231267&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/readability/ContainerSizeEmpty.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/readability/ContainerSizeEmpty.cpp Wed Mar  4 12:01:10 2015
@@ -39,7 +39,7 @@ bool isContainer(llvm::StringRef ClassNa
   }();
   return ContainerNames.find(ClassName) != ContainerNames.end();
 }
-}
+} // namespace
 
 namespace clang {
 namespace ast_matchers {
@@ -48,8 +48,8 @@ AST_MATCHER(QualType, isBoolType) { retu
 AST_MATCHER(NamedDecl, stlContainer) {
   return isContainer(Node.getQualifiedNameAsString());
 }
-}
-}
+} // namespace ast_matchers
+} // namespace clang
 
 namespace clang {
 namespace tidy {

Modified: clang-tools-extra/trunk/clang-tidy/readability/ShrinkToFitCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/readability/ShrinkToFitCheck.cpp?rev=231267&r1=231266&r2=231267&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/readability/ShrinkToFitCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/readability/ShrinkToFitCheck.cpp Wed Mar  4 12:01:10 2015
@@ -27,14 +27,14 @@ bool isShrinkableContainer(llvm::StringR
   }();
   return Shrinkables.find(ClassName) != Shrinkables.end();
 }
-}
+} // namespace
 
 namespace clang {
 namespace ast_matchers {
 AST_MATCHER(NamedDecl, stlShrinkableContainer) {
   return isShrinkableContainer(Node.getQualifiedNameAsString());
 }
-} // namespace ast_matchesr
+} // namespace ast_matchers
 } // namespace clang
 
 namespace clang {





More information about the cfe-commits mailing list