[clang-tidy] Fix namespace comments. NFC.

llvm-svn: 231267
This commit is contained in:
Alexander Kornienko 2015-03-04 18:01:10 +00:00
parent e40c71c10a
commit df0ab6acdf
2 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ bool isContainer(llvm::StringRef ClassName) {
}();
return ContainerNames.find(ClassName) != ContainerNames.end();
}
}
} // namespace
namespace clang {
namespace ast_matchers {
@ -48,8 +48,8 @@ AST_MATCHER(QualType, isBoolType) { return Node->isBooleanType(); }
AST_MATCHER(NamedDecl, stlContainer) {
return isContainer(Node.getQualifiedNameAsString());
}
}
}
} // namespace ast_matchers
} // namespace clang
namespace clang {
namespace tidy {

View File

@ -27,14 +27,14 @@ bool isShrinkableContainer(llvm::StringRef ClassName) {
}();
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 {