|
|
- check header guards
- check license header in source files
- check only spaces, no tabs
- check line length
- check indentation
- check single statement on same line
- check single definition on line
- check curly braces on separate line
- check consistent whitespace usage
- check for unneccessary empty lines
Each script takes the list of files to check as arguments.
All scripts print a help message if no argument is provided.
Scripts will print all warnings in a gcc-style format, so
default error and warning parsers will detect them.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
|