2.1.23.6. cli.pre_commit_scripts.check_include_guard
Check the include guard pattern in C header files.
This script verifies that each given C header file (.h) contains a correctly formatted and ordered include guard using the foxBMS naming convention. It reports missing, duplicate, or misordered guard markers and checks for the expected formatting pattern. It is intended for use with pre-commit.
Functions
|
Check a sequence of files for correct foxBMS include guard usage. |
|
Command-line interface for checking include guards. |
|
Check a single header file for correct foxBMS include guard usage. |