From 13a49b67358e0a2362986660bae5842ac9f3ecb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Mon, 30 Dec 2024 22:32:50 +0100 Subject: [PATCH] Update clang format for templates --- .clang-format | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.clang-format b/.clang-format index d6e086f..b8bcb7e 100644 --- a/.clang-format +++ b/.clang-format @@ -7,6 +7,7 @@ AllowAllArgumentsOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false AllowShortFunctionsOnASingleLine: false BreakBeforeBraces: Allman +BreakBeforeConceptDeclarations: Always BreakBeforeTernaryOperators: true BreakInheritanceList: BeforeColon ColumnLimit: 100 @@ -36,3 +37,6 @@ ReferenceAlignment: Left SortIncludes: CaseInsensitive SpaceBeforeCaseColon: true SpaceBeforeParens: ControlStatements + +# Deprecated +AlwaysBreakTemplateDeclarations: true