aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2024-03-14 10:02:37 +0100
committerMarco Bubke <marco.bubke@qt.io>2024-03-18 13:01:16 +0000
commit402ac58d05bbb5e2427292db704959ef62e9f544 (patch)
treef896fcd3475e769a2f838d0934d00987f5f9ecf9 /tests
parent04cbe492675950831e0c06190d8cb72f1e470d93 (diff)
QmlDesigner: Fix missing BreakTemplateDeclarations
Change-Id: I00c042e5e0a04705e3c2773dca5499d9bfa32949 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/.clang-format2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/.clang-format b/tests/unit/.clang-format
index d3695ac298..366f82f76f 100644
--- a/tests/unit/.clang-format
+++ b/tests/unit/.clang-format
@@ -2,6 +2,7 @@ Language: Cpp
AccessModifierOffset: -4
AlignEscapedNewlines: DontAlign
AllowShortFunctionsOnASingleLine: Inline
+AlwaysBreakTemplateDeclarations: true # use with clang 19
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
@@ -15,6 +16,7 @@ BreakBeforeBinaryOperators: All
BreakBeforeBraces: Custom
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: AfterComma
+# BreakTemplateDeclarations: Yes # use with clang 19
ColumnLimit: 100
IncludeCategories:
- Regex: 'Q.*'