[PATCH] [clang-tidy] Add a checker for long functions.

Benjamin Kramer benny.kra at gmail.com
Mon Aug 25 09:17:52 PDT 2014


- Replace CFG construction with a simple branch counter as suggested by Manuel.

http://reviews.llvm.org/D4986

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/FunctionLength.cpp
  clang-tidy/misc/FunctionLength.h
  clang-tidy/misc/MiscTidyModule.cpp
  unittests/clang-tidy/CMakeLists.txt
  unittests/clang-tidy/FunctionLengthCheckTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4986.12903.patch
Type: text/x-patch
Size: 11055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140825/00dff67e/attachment.bin>


More information about the cfe-commits mailing list