From f0db90859aabc57f9bb4b38d9d334ef4e2b4af63 Mon Sep 17 00:00:00 2001 From: Anthony Rose Date: Mon, 30 Sep 2024 20:28:39 +0100 Subject: [PATCH] Use WebKit layout and DerivePointerAlignment --- roles/home-cli/files/clang-format | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/home-cli/files/clang-format b/roles/home-cli/files/clang-format index 0d92f98..bcdf581 100644 --- a/roles/home-cli/files/clang-format +++ b/roles/home-cli/files/clang-format @@ -3,9 +3,10 @@ Language: Cpp BasedOnStyle: LLVM AccessModifierOffset: -4 -BreakBeforeBraces: Stroustrup +BreakBeforeBraces: WebKit +DerivePointerAlignment: true IndentWidth: 4 -PointerAlignment: Left # Left for C++, Right for C. +PointerAlignment: Right # Left for C++, Right for C. --- Language: CSharp