diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-19 15:53:37 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-19 15:56:26 -0400 |
commit | 03409f20eeb2ce8c4700e2226cd5fb6379a309e8 (patch) | |
tree | b08c752677380b03e4b84387811910148d12d6e7 | |
parent | 4e4f57e091020750d66134c212d7778c17d96c20 (diff) | |
download | gtk+-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-format | 2 |
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 |