1 #ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_STATICSTRINGIDCONSTANTSCHECK_H
2 #define CATA_TOOLS_CLANG_TIDY_PLUGIN_STATICSTRINGIDCONSTANTSCHECK_H
3 
4 #include <clang/ASTMatchers/ASTMatchFinder.h>
5 #include <llvm/ADT/StringRef.h>
6 
7 #include "ClangTidy.h"
8 
9 namespace clang
10 {
11 
12 namespace tidy
13 {
14 class ClangTidyContext;
15 
16 namespace cata
17 {
18 
19 class StaticStringIdConstantsCheck : public ClangTidyCheck
20 {
21     public:
StaticStringIdConstantsCheck(StringRef Name,ClangTidyContext * Context)22         StaticStringIdConstantsCheck( StringRef Name, ClangTidyContext *Context )
23             : ClangTidyCheck( Name, Context ) {}
24         void registerMatchers( ast_matchers::MatchFinder *Finder ) override;
25         void check( const ast_matchers::MatchFinder::MatchResult &Result ) override;
26 };
27 
28 } // namespace cata
29 } // namespace tidy
30 } // namespace clang
31 
32 #endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_STATICSTRINGIDCONSTANTSCHECK_H
33