[PATCH] D36836: [clang-tidy] Implement readability-function-cognitive-complexity check
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 30 14:32:32 PDT 2017
lebedev.ri updated this revision to Diff 120890.
lebedev.ri marked 2 inline comments as done.
lebedev.ri added a comment.
Ping.
Rebased.
Silenced (via the `-w` flag in the `RUN` line) the `Fix conflicts with existing fix!` assertion since this differential does not actually cause it, but the testcase just happens to trigger it...
Reported it as PR35136 <https://bugs.llvm.org/show_bug.cgi?id=35136> with minimal reproducer.
In https://reviews.llvm.org/D36836#889375, @aaron.ballman wrote:
> Adding @dberlin for licensing discussion questions.
@dberlin ping? I'm wondering if you had the chance to look at this? :)
Repository:
rL LLVM
https://reviews.llvm.org/D36836
Files:
LICENSE.TXT
clang-tidy/readability/CMakeLists.txt
clang-tidy/readability/FunctionCognitiveComplexityCheck.LICENSE.txt
clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp
clang-tidy/readability/FunctionCognitiveComplexityCheck.h
clang-tidy/readability/ReadabilityTidyModule.cpp
docs/ReleaseNotes.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/readability-function-cognitive-complexity.rst
test/clang-tidy/readability-function-cognitive-complexity.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36836.120890.patch
Type: text/x-patch
Size: 71359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171030/3e1ddcf6/attachment-0001.bin>
More information about the cfe-commits
mailing list