On Mon, Sep 15, 2014 at 2:48 PM, Benjamin Kramer <[email protected]> wrote:
> Author: d0k > Date: Mon Sep 15 07:48:25 2014 > New Revision: 217768 > > URL: http://llvm.org/viewvc/llvm-project?rev=217768&view=rev > Log: > [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. > BTW, it would be nice to have the above description in the class comment together with the configuration option names.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
