[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 07:56:18 PDT 2021


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

Add test with global IgnoreMacros=true and readability-function-cognitive-complexity.IgnoreMacros unset.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98070

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: D98070.336831.patch
Type: text/x-patch
Size: 8583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210412/cb1527b7/attachment.bin>


More information about the cfe-commits mailing list