[PATCH] D96281: [clang-tidy] Add options to describe individual core increments to readability-function-cognitive-complexity check.

Jens Massberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 3 08:08:15 PST 2021


massberg updated this revision to Diff 327805.
massberg added a comment.

Remove unnecessary checks.

After testing locally it turned out that we do not need these checks.
If there is an unexpected note, the test fails.


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.327805.patch
Type: text/x-patch
Size: 5786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210303/811b768b/attachment.bin>


More information about the cfe-commits mailing list