[PATCH] D96281: [clang-tidy] Add options to flag individual core increments and to ignore macros to readability-function-cognitive-complexity check.
Jens Massberg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 11 09:27:23 PST 2021
massberg updated this revision to Diff 323052.
massberg marked 2 inline comments as done.
massberg added a comment.
Add test cases showing that when IgnoreMacros is set to 'true', also macro arguments are ignored.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96281/new/
https://reviews.llvm.org/D96281
Files:
clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp
clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.h
clang-tools-extra/docs/clang-tidy/checks/readability-function-cognitive-complexity.rst
clang-tools-extra/test/clang-tidy/checkers/readability-function-cognitive-complexity-flags.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96281.323052.patch
Type: text/x-patch
Size: 9645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210211/b2aa2f87/attachment.bin>
More information about the cfe-commits
mailing list