aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/clang-format.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kde-modules/clang-format.cmake')
-rw-r--r--kde-modules/clang-format.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/kde-modules/clang-format.cmake b/kde-modules/clang-format.cmake
index f698a928..74e7342c 100644
--- a/kde-modules/clang-format.cmake
+++ b/kde-modules/clang-format.cmake
@@ -66,6 +66,9 @@ NamespaceIndentation: None
# we use template< without space.
SpaceAfterTemplateKeyword: false
+# Always break after template declaration
+AlwaysBreakTemplateDeclarations: true
+
# macros for which the opening brace stays attached.
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE ]