Added two options to cppcoreguidelines-special-member-functions to allow a more relaxed checking.
With 'AllowSoleDefaultDtor' set to 1, classes with explicitly defaulted destructors but no other special members are not flagged anymore:
class foo { // typical scenario: defaulted virtual destructor in base classes virtual ~foo() = default; };
With 'AllowMissingMoveFunctions' set to 1, classes with no move functions at all are not flagged anymore:
class bar{ ~bar(); bar(const bar&); bar& operator=(const bar&); };
You should run clang-format over the patch; the & should bind to ID.