Mercurial > hg > CbC > CbC_llvm
diff clang-tools-extra/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | c4bab56944e8 |
children |
line wrap: on
line diff
--- a/clang-tools-extra/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h Wed Nov 09 17:47:54 2022 +0900 +++ b/clang-tools-extra/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h Fri Aug 18 09:04:13 2023 +0900 @@ -11,9 +11,7 @@ #include "../ClangTidyCheck.h" -namespace clang { -namespace tidy { -namespace readability { +namespace clang::tidy::readability { /// Finds static function and variable definitions in anonymous namespace. /// @@ -28,8 +26,6 @@ void check(const ast_matchers::MatchFinder::MatchResult &Result) override; }; -} // namespace readability -} // namespace tidy -} // namespace clang +} // namespace clang::tidy::readability #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_READABILITY_STATIC_DEFINITION_IN_ANONYMOUS_NAMESPACE_H