Adds .clang-format style for formatting files

This commit is contained in:
2024-09-25 16:21:01 +02:00
parent 1539bfc66a
commit 39098fd0d1
2 changed files with 255 additions and 0 deletions

View File

@ -38,3 +38,12 @@ Those political problems require a special development model:
Take care of the sinqEPICsApp/src/sinq.dbd file. This is the one which differs mostly between
amorsim and master branches.
# Formatting
Formatting is done via the [`.clang-format`](./.clang-format) file checked into
the repository. One option to apply the formatting to a given file is via the
command below.
```
clang-format -i -style=file <file>
```