Skip to content

Clang adaptation

Slavomir Hnatic requested to merge clang-adaptation into dev

INSTALLATION

  • install package containing clang-format version 13.0.0 for your system (NOTE: you must have the same version installed, as they do not give the same output!)
  • if clang-package is unavailable, then install pipx either from its own package, or by installing pip package first and run:
    python3 -m pip install --user pipx python3 -m pipx ensurepath

PRE_COMMIT HOOK

Copy from
scripts/pre-commit
to
.git/hooks/pre-commit

then make it executable
chmod u+x .git/hooks/pre-commit

This will automatically format all staged changes before the commit.

DO NOT REMOVE THIS BOXED MESSAGE

Code in this merge request is subject to review by Code Owners.
The list of reviewers is posted in the comments section.
After all of the code is approved, please put a brief notice about it at the beginning of this message.

NOTE: Merging this code without getting it approved by Code Owners will result in suspending your developer rights!!!

Edited by Slavomir Hnatic

Merge request reports

Loading