aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-09-15 12:48:25 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-09-15 12:48:25 +0000
commit6e195426e72282a63f19d0fc448fb1d6730ccd07 (patch)
tree677d16bd904feed3b2a00330397b88690f50ff81 /clang/lib/Frontend/InitPreprocessor.cpp
parent707a2e098dd6b30ebf7d6246360c794296eb0ad9 (diff)
downloadllvm-6e195426e72282a63f19d0fc448fb1d6730ccd07.zip
llvm-6e195426e72282a63f19d0fc448fb1d6730ccd07.tar.gz
llvm-6e195426e72282a63f19d0fc448fb1d6730ccd07.tar.bz2
[clang-tidy] Add a checker for long functions.
As this is very dependent on the code base it has some ways of configuration. It's possible to pick between 3 modes of operation: - Line counting: number of lines including whitespace and comments - Statement counting: number of statements within compoundStmts. - Branch counter In addition a threshold can be picked, warnings are only emitted when it is met. The thresholds can be configured via a .clang-tidy file. Differential Revision: http://reviews.llvm.org/D4986 llvm-svn: 217768
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions