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