]> git.ipfire.org Git - thirdparty/krb5.git/commit
Improve C style checking
authorGreg Hudson <ghudson@mit.edu>
Fri, 19 Oct 2012 16:39:04 +0000 (12:39 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 19 Oct 2012 16:39:04 +0000 (12:39 -0400)
commit9e071d534f77fe7c3a8c83d0f54c5717b0374f5a
treef74fc8b80eeb0ab0a3598fdcb267a3b9e2ab029b
parentf2a177ddd2c4be7b2e2579a0bcd9d576a52ca216
Improve C style checking

* Avoid space-before-paren false positives on some function pointer
  declarations by checking the identifier for simple type names.
* Check for space before close parenthesis.
* Check (carefully) for asymmetric spaces around binary operators.
* Handle nesting when checking for 2+ line flow control bodies.
* Check for asymmetric bracing around else statements.
src/util/cstyle-file.py