[PATCH] D30610: [clang-tidy] Added options to cppcoreguidelines-special-member-functions check
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 8 20:29:24 PST 2017
aaron.ballman added inline comments.
================
Comment at: clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp:116
+
+ if (auto Dtor = Result.Nodes.getNodeAs<CXXMethodDecl>("dtor")) {
+ StoreMember(Dtor->isDefaulted()
----------------
`const auto *Dtor`
================
Comment at: docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst:23
+
+Options
+-------
----------------
Examples for each of the options might be nice.
https://reviews.llvm.org/D30610
More information about the cfe-commits
mailing list