[PATCH] D30610: [clang-tidy] Added options to cppcoreguidelines-special-member-functions check

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 24 05:38:06 PST 2017


malcolm.parsons added a comment.

I'd like an `AllowDeletedCopyFunctions` option that allows move and destructor functions to be missing when copying is disabled.

  struct A {
    A(const A&) = delete;
    A& operator=(const A&) = delete;
  }


https://reviews.llvm.org/D30610





More information about the cfe-commits mailing list