[PATCH] D132804: [clang-tidy] Add option to ignore CRTP overrides in convert-member-functions-to-static
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 27 17:13:51 PDT 2022
njames93 created this revision.
njames93 added reviewers: aaron.ballman, gribozavr2, LegalizeAdulthood, JonasToth.
Herald added subscribers: carlosgalvezp, xazax.hun.
Herald added a project: All.
njames93 requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
In cases where a member function is a CRTP override, marking the 'derived' as static is likely to reduce in less readable code.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132804
Files:
clang-tools-extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp
clang-tools-extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/readability/convert-member-functions-to-static.rst
clang-tools-extra/test/clang-tidy/checkers/readability/convert-member-functions-to-static-crtp.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132804.456164.patch
Type: text/x-patch
Size: 5696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220828/7b0aa907/attachment.bin>
More information about the cfe-commits
mailing list