summaryrefslogtreecommitdiff
path: root/.clang-format
blob: 59804f8bc7330c2461c1149ebb0e50e189a2e410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# See https://gnome.pages.gitlab.gnome.org/at-spi2-core/devel-docs/gitlab-ci.html#code-formatting
# for documentation about this configuration for code formatting.

BasedOnStyle: GNU
AlwaysBreakAfterDefinitionReturnType: All
BreakBeforeBinaryOperators: None
BinPackParameters: false
SpaceAfterCStyleCast: true
# Our column limit is actually 80, but setting that results in clang-format
# making a lot of dubious hanging-indent choices; disable it and assume the
# developer will line wrap appropriately. clang-format will still check
# existing hanging indents.
ColumnLimit: 0