From 2a30a0d58e31a6142a6077e7bd9da85d53e7a329 Mon Sep 17 00:00:00 2001 From: uniboi <64006268+uniboi@users.noreply.github.com> Date: Thu, 7 Dec 2023 21:17:50 +0100 Subject: Add clang-format config to pack constructor initializers (#608) The setting will set each initializer in a new line if all of them don't fit in one line --- .clang-format | 2 ++ 1 file changed, 2 insertions(+) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index 0c08cabd..cb98dfc0 100644 --- a/.clang-format +++ b/.clang-format @@ -34,3 +34,5 @@ IndentExternBlock: Indent PointerAlignment: Left SortIncludes: false NamespaceIndentation: All +PackConstructorInitializers: NextLine +BreakConstructorInitializersBeforeComma: true -- cgit v1.2.3