29 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
31 Preprocessor *ModuleExpanderPP)
override;
37 const bool WantToUseSafeFunctions;
39 bool UseSafeFunctions =
false;
41 void memoryHandlerFunctionFix(
42 StringRef Name,
const ast_matchers::MatchFinder::MatchResult &Result);
43 void memcpyFix(StringRef Name,
44 const ast_matchers::MatchFinder::MatchResult &Result,
45 DiagnosticBuilder &Diag);
46 void memcpy_sFix(StringRef Name,
47 const ast_matchers::MatchFinder::MatchResult &Result,
48 DiagnosticBuilder &Diag);
49 void memchrFix(StringRef Name,
50 const ast_matchers::MatchFinder::MatchResult &Result);
51 void memmoveFix(StringRef Name,
52 const ast_matchers::MatchFinder::MatchResult &Result,
53 DiagnosticBuilder &Diag)
const;
54 void strerror_sFix(
const ast_matchers::MatchFinder::MatchResult &Result);
55 void ncmpFix(StringRef Name,
56 const ast_matchers::MatchFinder::MatchResult &Result);
57 void xfrmFix(StringRef Name,
58 const ast_matchers::MatchFinder::MatchResult &Result);
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.