[PATCH] D143851: [clang-tidy] Tweak 'rule of 3/5' checks to allow defaulting a destructor outside the class.
Chris Cotter via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 12 12:48:22 PST 2023
ccotter added inline comments.
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/special-member-functions.rst:40
+
+ struct C { // This is not checked, because the destuctor might be defaulted in another translation unit.
+ ~C();
----------------
typo: destuctor->destructor
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143851/new/
https://reviews.llvm.org/D143851
More information about the cfe-commits
mailing list