Merge branch 'clang-format' into 'master'

Add clang-format file.

See merge request cairo/cairo!349
This commit is contained in:
Jussi Pakkanen 2026-05-09 09:18:31 +00:00
commit 03b4e7caa3

13
.clang-format Normal file
View file

@ -0,0 +1,13 @@
BasedOnStyle: LLVM
IndentWidth: 4
BreakBeforeBraces: Linux
SpaceBeforeParens: Always
AllowAllArgumentsOnNextLine: false
AlwaysBreakAfterReturnType: All
UseTab: ForIndentation
BinPackParameters: false
BinPackArguments: false
SpaceAfterLogicalNot: true
SpaceAfterCStyleCast: true
SortIncludes: Never
ReflowComments: false