forked from OSchip/llvm-project
[clang-tidy] Fix namespace comments. NFC.
llvm-svn: 231267
This commit is contained in:
parent
e40c71c10a
commit
df0ab6acdf
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue