clang-format: Add check for emacs file style comment

This commit is contained in:
Eduardo Almeida
2025-01-30 21:32:54 +00:00
parent d525eb23b8
commit 15ff897e73
2 changed files with 68 additions and 0 deletions

View File

@@ -179,6 +179,9 @@ Users can disable specific checks using the corresponding flags.
* - SPDX Licenses
- Check if source code use SPDX licenses rather than GPL license text. Respects clang-format guards.
- ``--no-licenses``
* - Emacs comments
- Check if source code does not have emacs file style comments. Respects clang-format guards.
- ``--no-emacs``
* - Trailing whitespace
- Check if there are no trailing whitespace. Always checked.
- ``--no-whitespace``