Commit Graph

4 Commits

Author SHA1 Message Date
Alibek Omarov
9f2b8954e9 utils: add new tool xash-clang-format, a wrapper around clang-format that adds our formatting extensions 2026-07-01 22:53:52 +05:00
Alibek Omarov
5d307d603c Remove clang-format 2021-07-09 14:40:24 +03:00
Gleb Mazovetskiy
239474b01e .clang-format: SpaceBeforeParens: Never
This is more consistent with how xash3d formats its `if` and `switch` statements
2021-01-07 17:34:51 +03:00
Gleb Mazovetskiy
5b8d504817 Add .clang-format
Based on
725fd84b5b/.clang-format
with the following changes:

1. Uncomments `BasedOnStyle: WebKit` to be explicit.
2. Adds:

       AlignConsecutiveDeclarations: true
       AlignConsecutiveMacros: true
2021-01-02 17:56:58 +03:00