[PATCH] D98070: [clang-tidy] Add option to ignore macros in readability-function-cognitive-complexity check.

Jens Massberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 12 08:48:31 PDT 2021


massberg marked an inline comment as done.
massberg added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/readability-function-cognitive-complexity.rst:31
+   any macro arguments are ignored, even if they should count to the complexity.
+   Default is `false`.
+
----------------
lebedev.ri wrote:
> I'd add something about this option being not guaranteed to forward-compatible.
I have added a note, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98070



More information about the cfe-commits mailing list