]> https://gitweb.dealii.org/ - dealii.git/commitdiff
tweak .clang-format file
authorMatthias Maier <tamiko@43-1.org>
Wed, 30 May 2018 01:34:06 +0000 (20:34 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 13 Jun 2018 19:52:30 +0000 (14:52 -0500)
.clang-format
examples/.clang-format

index 1a120896934cf10fc5539a91050bb748e9e62107..ca45b6a77cc8d4911f19fe50b068d67e89d11e98 100644 (file)
@@ -45,14 +45,13 @@ BreakBeforeBinaryOperators: None
 BreakBeforeBraces: Custom
 BreakBeforeInheritanceComma: false
 BreakBeforeTernaryOperators: false
-BreakConstructorInitializers: AfterColon
+BreakConstructorInitializers: BeforeComma
 BreakStringLiterals: false
 
 ColumnLimit: 80
 
 CompactNamespaces: false
 
-ConstructorInitializerAllOnOneLineOrOnePerLine: true
 ConstructorInitializerIndentWidth: 2
 
 ContinuationIndentWidth: 2
@@ -141,6 +140,8 @@ MaxEmptyLinesToKeep: 3
 
 NamespaceIndentation: All
 
+PenaltyBreakBeforeFirstCallParameter: 90
+
 PointerAlignment: Right
 
 ReflowComments: true
index cd10459874e041b9d9ee9086e3fb4cd92fb95756..f62aa53af49d08310e7b804944ab6ad88d683832 100644 (file)
@@ -47,14 +47,13 @@ BreakBeforeBinaryOperators: None
 BreakBeforeBraces: Custom
 BreakBeforeInheritanceComma: false
 BreakBeforeTernaryOperators: false
-BreakConstructorInitializers: AfterColon
+BreakConstructorInitializers: BeforeComma
 BreakStringLiterals: false
 
 ColumnLimit: 80
 
 CompactNamespaces: false
 
-ConstructorInitializerAllOnOneLineOrOnePerLine: true
 ConstructorInitializerIndentWidth: 2
 
 ContinuationIndentWidth: 2
@@ -79,6 +78,8 @@ MaxEmptyLinesToKeep: 3
 
 NamespaceIndentation: All
 
+PenaltyBreakBeforeFirstCallParameter: 90
+
 PointerAlignment: Right
 
 ReflowComments: 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.