[PATCH] D96281: [clang-tidy] Add options to flag individual core increments and to ignore macros to readability-function-cognitive-complexity check.
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 13 23:09:28 PST 2021
lebedev.ri added a comment.
It would be better to split this into two parts.
================
Comment at: clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp:540
+ if (!FlagBasicIncrements) {
+ return;
----------------
Drop `{}`
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/readability-function-cognitive-complexity.rst:20
+.. option:: FlagBasicIncrements
+
----------------
`FlagBasicIncrements` is misleading, this should be `DescribeBasicIncrements`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96281/new/
https://reviews.llvm.org/D96281
More information about the cfe-commits
mailing list