From 098e28bff9074312d064174ae56d50efe76c65b7 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 25 May 2018 09:48:37 +0200 Subject: [PATCH] Don't break after return types in examples --- examples/.clang-format | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/.clang-format b/examples/.clang-format index 7536c1c0d5..cd10459874 100644 --- a/examples/.clang-format +++ b/examples/.clang-format @@ -1,6 +1,7 @@ # # The clang-format (Clang 6) style file used by deal.II for the examples. -# In contrast to the general one, header files are not sorted. +# In contrast to the general one, header files are not sorted and we do +# not require return types to be on a separate line. # AccessModifierOffset: -2 @@ -19,7 +20,7 @@ AllowShortFunctionsOnASingleLine: None AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false -AlwaysBreakAfterReturnType: All +AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: true -- 2.39.5