1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/vera++
2023-05-06 07:55:01 +02:00
..
profiles tools/vera++: increase max line length bounds 2021-01-19 16:10:51 +01:00
scripts ci/vera++/rules/L004: remove warning support 2021-01-20 11:04:12 +01:00
check.sh dist/tools/vera++: fix exclude rules for tests/pkg/utensor 2023-05-06 07:55:01 +02:00
exclude style-check/vera++: add RIOT vera++ files 2020-02-14 14:17:16 +01:00
README.md vera++: add README file 2020-02-14 14:17:17 +01:00

Overview

Vera++ is a programmable tool for verification, analysis and transformation of C++ source code. Vera++ is mainly an engine that parses C++ source files and presents the result of this parsing to scripts in the form of various collections - the scripts are actually performing the requested tasks.

Rules

Rules can be added in the rules folder. The default rules from Vera++ were added. However, it's possible to implement new rules in TCL. See https://bitbucket.org/verateam/vera/wiki/Rules for information about the available rules.

Profiles

A riot_force profile was made for describing the set of applied rules as well as special parameters. A riot profile includes all rules that should be treated as warnings. In case new rules are added, they can be updated for both profiles under profiles folder.

Example usage

Check style for all changed files changed in current branch: check.sh

Check all changed files and don't display the results (only exit code): QUIET=1 check.sh

Don't display the warnings WARNING=0 check.sh