Zdenko Podobný
04551ce2a6
clang-format: use default value for line width (80)
2022-12-12 16:55:34 +01:00
zdenop
d89ff4667b
reformat code (files with tabs)
2022-12-10 20:33:35 +01:00
Stefan Weil
83cdcd0c01
clang-format: Clean formatting rules
...
- Remove duplicate entry
- Try to use either "google" or default style settings
- Use default column with 80
- Order settings and add more comments
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-04-07 18:53:24 +02:00
Egor Pugin
afa476bc23
[clang-format] Update config.
2021-03-12 22:33:22 +03:00
Stefan Weil
e262d71a56
Modifiy formatting rules
...
* Allow a single line for empty functions only.
* Don't allow if statements on a single line.
This improves readability and helps when debugging.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-04-02 06:34:45 +02:00
Stefan Weil
1011e001d8
Update rules for clang-format
...
Add indentation of preprocessor directives.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-07-01 08:11:22 +02:00
Stefan Weil
d7db470893
Simplify configuration for clang-format
...
Instead of using a detailed configuration, use Google base style and
add the extras.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-05-26 10:09:57 +02:00
Stefan Weil
544d399f08
Update configuration for clang-format
...
Don't derive the pointer alignment. Always use left alignment.
Remove also spaces at line endings.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-05-24 20:23:23 +02:00
Stefan Weil
d55e4e5a59
Add configuration for clang-format 7
...
It is based on Google style:
clang-format-7 -i -style=Google -dump-config >.clang-format
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-05-24 20:21:54 +02:00