Mercurial > hg > CbC > CbC_llvm
comparison clang-tools-extra/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children | 1f2b6ac9f198 |
comparison
equal
deleted
inserted
replaced
232:70dce7da266c | 236:c4bab56944e8 |
---|---|
16 namespace readability { | 16 namespace readability { |
17 | 17 |
18 /// Finds static function and variable definitions in anonymous namespace. | 18 /// Finds static function and variable definitions in anonymous namespace. |
19 /// | 19 /// |
20 /// For the user-facing documentation see: | 20 /// For the user-facing documentation see: |
21 /// http://clang.llvm.org/extra/clang-tidy/checks/readability-static-definition-in-anonymous-namespace.html | 21 /// http://clang.llvm.org/extra/clang-tidy/checks/readability/static-definition-in-anonymous-namespace.html |
22 class StaticDefinitionInAnonymousNamespaceCheck : public ClangTidyCheck { | 22 class StaticDefinitionInAnonymousNamespaceCheck : public ClangTidyCheck { |
23 public: | 23 public: |
24 StaticDefinitionInAnonymousNamespaceCheck(StringRef Name, | 24 StaticDefinitionInAnonymousNamespaceCheck(StringRef Name, |
25 ClangTidyContext *Context) | 25 ClangTidyContext *Context) |
26 : ClangTidyCheck(Name, Context) {} | 26 : ClangTidyCheck(Name, Context) {} |