massberg marked 2 inline comments as done.
massberg added a comment.
Thanks for the comments!
================
Comment at:
clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp:230
+ explicit FunctionASTVisitor(const bool IgnoreMacros)
+ : RecursiveASTVisitor<FunctionASTVisitor>(),
IgnoreMacros(IgnoreMacros){};
+
----------------
alexfh wrote:
> Is a default base class constructor entry necessary in the class initializer
> list?
You are right, that wasn't needed.
================
Comment at:
clang-tools-extra/docs/clang-tidy/checks/readability-function-cognitive-complexity.rst:22
+
+ If set to `true`, the check will flag every basic increment. Default
+ is `true`.
----------------
alexfh wrote:
> What does "flag every basic increment" mean? Can you explain in more detail
> and maybe add an example?
I hope the new description explains now the flag sufficiently.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96281/new/
https://reviews.llvm.org/D96281
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits