29 return LangOpts.CPlusPlus;
32 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
39 bool isPossibleToBeOverridden(
const CXXMethodDecl *BaseMD);
45 bool isOverriddenByDerivedClass(
const CXXMethodDecl *BaseMD,
46 const CXXRecordDecl *DerivedRD);
50 llvm::DenseMap<const CXXMethodDecl *, bool> PossibleMap;
55 llvm::DenseMap<std::pair<const CXXMethodDecl *, const CXXRecordDecl *>,
bool>
58 const unsigned EditDistanceThreshold = 1;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.