]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Don't break after return types in examples
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 25 May 2018 07:48:37 +0000 (09:48 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 25 May 2018 07:56:19 +0000 (09:56 +0200)
examples/.clang-format

index 7536c1c0d51b319f2da3641d324a9761c1e94b4e..cd10459874e041b9d9ee9086e3fb4cd92fb95756 100644 (file)
@@ -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
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.