27 return LangOpts.CPlusPlus;
30 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
32 Preprocessor *ModuleExpanderPP)
override;
40 const DeclRefExpr &CopyArgument,
43 const ParmVarDecl &Param, ASTContext &Context);
46 ExprMutationAnalyzer::Memoized MutationAnalyzerCache;
47 utils::IncludeInserter Inserter;
48 const std::vector<StringRef> AllowedTypes;
49 bool IgnoreCoroutines;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.