• Andy Whitcroft's avatar
    update checkpatch.pl to version 0.11 · 6c72ffaa
    Andy Whitcroft authored
    This version brings a more cautious checkpatch.pl by default.  The more
    subjective checks are only applied with the --strict option.  It also
    brings the usual slew of corrections for false positives.  Of note:
    
      - new tree detection, the source tree will be found via the executable
      - a major revamp of the unary detection to make it more parser like
      - a new summary at the bottom of the report
      - --strict option for subjective checks
      - --file to enable checking on complete files
      - support for use in emacs "compile" window
    
    Andy Whitcroft (27):
          Version: 0.11
          fix up cat_vet for the case where there are no control characters
          any cast to a pointer introduces a type
          cpp unary operator detection needs to float
          attributes are also valid in type definitions
          sizeof may be a bareword and makes its argument unary
          unary checks for #ifdef et al need to find end of line
          add new --file mode to handle raw source files
          add -...
    6c72ffaa
checkpatch.pl 37.7 KB