Adds new code style checks using the vera++ software for tokenizing.
Adds the following style checks:
- Maximum line length
- No tabs
- No carriage returns
- No NOCHECKIN
- No trailing spaces
- Break after return type
- Braces around multi-line body
- No space after a control keyword
- Space after a call
Adds but disables a CamelCase rule as there are just too many exceptions.
The style checks are integrated into the build and run on each source file only when it's modified. The "style" build target can be used to force a check on every file.
Leaves the existing runsuite.cmake diff checks in place as the new vera++ checks only apply to C and C++ files.
Auto-installs vera++ on Travis to ensure we run the checks during CI.
Adds a test that vera++ finds these violations in an intentionally violating file.
Fixes #2369 (closed)