summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-19 15:53:37 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-19 15:56:26 -0400
commit03409f20eeb2ce8c4700e2226cd5fb6379a309e8 (patch)
treeb08c752677380b03e4b84387811910148d12d6e7
parent4e4f57e091020750d66134c212d7778c17d96c20 (diff)
downloadgtk+-clang-format-improvement.tar.gz
ci: Improve clang-format styleclang-format-improvement
Add AlignConsecutiveDeclarations: true PointerAlignment: Right which will produce the style we want with llvm 13.
-rw-r--r--.clang-format2
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 13fd0fbd44..51e8ce8d5b 100644
--- a/.clang-format
+++ b/.clang-format
@@ -4,6 +4,8 @@ AlwaysBreakAfterDefinitionReturnType: All
BreakBeforeBinaryOperators: None
BinPackParameters: false
SpaceAfterCStyleCast: true
+AlignConsecutiveDeclarations: true
+PointerAlignment: Right
# 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