Commit d5d379fe authored by Denis Kasak's avatar Denis Kasak
Browse files

Add preliminary .clang-format file.

Our current coding style is not very uniform and we don't seem to be
following any particular standard, even though there are some patterns
we more or less follow.

This attempts to mostly reproduce our current style. However, it still
introduces quite a lot of changes since clang-format doesn't yet support
dangling parentheses[*] (where the closing parenthesis of a parameter
list goes on its own line).

parent 254a4a56
Pipeline #7004 passed with stages
in 2 minutes and 17 seconds
BasedOnStyle: WebKit
IndentWidth: 4
ColumnLimit: 80
Language: cpp
PointerAlignment: Middle
IndentCaseLabels: true
BinPackArguments: true
SpaceAfterCStyleCast: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment