[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 07:42:33 PDT 2017


lebedev.ri updated this revision to Diff 102548.
lebedev.ri added a comment.

Simplify it even further by moving the logic into it's proper place - `TraverseCompoundStmt()`


Repository:
  rL LLVM

https://reviews.llvm.org/D34202

Files:
  clang-tidy/readability/FunctionSizeCheck.cpp
  test/clang-tidy/readability-function-size.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34202.102548.patch
Type: text/x-patch
Size: 4362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170614/bbfa556b/attachment.bin>


More information about the cfe-commits mailing list