[PATCH] D36836: [clang-tidy] Implement readability-function-cognitive-complexity check

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 16 03:35:21 PDT 2017


lebedev.ri added a comment.

In https://reviews.llvm.org/D36836#873032, @JonasToth wrote:

> I built the patch locally, here is my output:
>
> The Unittest failed for me: `Neither CHECK-FIXES nor CHECK-MESSAGES found in the input`
>
> Script call: 
>  `/usr/bin/python2.7 /home/jonas/opt/llvm/tools/clang/tools/extra/test/../test/clang-tidy/check_clang_tidy.py /home/jonas/opt/llvm/tools/clang/tools/extra/test/clang-tidy/readability-function-cognitive-complexity.cpp readability-function-cognitive-complexity /home/jonas/opt/llvm/build/tools/clang/tools/extra/test/clang-tidy/Output/readability-function-cognitive-complexity.cpp.tmp -- -config='{CheckOptions: [{key: readability-function-cognitive-complexity.Threshold, value: 0}]}' -- -std=c++11`


You did note that https://reviews.llvm.org/D36892 needs to be applied first?

> Building the docs failed as well, i added inline comment on that.


Repository:
  rL LLVM

https://reviews.llvm.org/D36836





More information about the cfe-commits mailing list