[PATCH] D103511: [clang-tidy] Special member functions check should allow sole dtors by default

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 2 05:22:05 PDT 2021


steakhal added a comment.

In D103511#2793291 <https://reviews.llvm.org/D103511#2793291>, @aaron.ballman wrote:

> I think the C++ Core Guideline wording is... confusing. The rule title is `C.21: If you define or =delete any copy, move, or destructor function, define or =delete them all`, which I take literally. Using `= default` defines the function, so:

Okay, then I'm going to abandon this in a few days if nothing interesting shows up.
Thanks for the quick response!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103511/new/

https://reviews.llvm.org/D103511



More information about the cfe-commits mailing list