[PATCH] D132804: [clang-tidy] Add option to ignore CRTP overrides in convert-member-functions-to-static

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 27 22:17:35 PDT 2022


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/readability/convert-member-functions-to-static.rst:23
+  warning will be emitted. Often occurs with CRTP like classes.
+  For the case below a warning would only be emitted for Derived::shouldTraverse
+  if this is set to `false`.
----------------
Please highlight `Derived::shouldTraverse` with double back-ticks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132804



More information about the cfe-commits mailing list