28 return LangOpts.CPlusPlus;
31 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
35 void addMatcher(
const ast_matchers::DeclarationMatcher &TargetRecordDecl,
36 StringRef VarDeclName, StringRef VarDeclStmtName,
37 const ast_matchers::DeclarationMatcher &AppendMethodDecl,
38 StringRef AppendCallName, ast_matchers::MatchFinder *Finder);
39 const std::vector<StringRef> VectorLikeClasses;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.