27 return LangOpts.CPlusPlus;
31 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
56 using ClassDefId = std::pair<SourceLocation, std::string>;
59 llvm::DenseMap<ClassDefId, SmallVector<SpecialMemberFunctionData, 5>>;
62 void checkForMissingMembers(
64 llvm::ArrayRef<SpecialMemberFunctionData> DefinedMembers);
66 const bool AllowMissingMoveFunctions;
67 const bool AllowSoleDefaultDtor;
68 const bool AllowMissingMoveFunctionsWhenCopyIsDeleted;
69 const bool AllowImplicitlyDeletedCopyOrMove;
71 const bool IgnoreMacros;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.