[PATCH] D34202: [clang-tidy] readability-function-size: fix nesting level calculation

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 14 09:37:07 PDT 2017


lebedev.ri added a comment.

In https://reviews.llvm.org/D34202#780424, @malcolm.parsons wrote:

> My coding standards require the `{}`, so while I may not agree with your definition of nesting, it doesn't matter.


Well, seeing `readability-deep-nesting.cpp` in the issue, i suppose the definition might be adjusted to fit that too, to avoid having more than one check doing just slightly different checking...


Repository:
  rL LLVM

https://reviews.llvm.org/D34202





More information about the cfe-commits mailing list