Skip to content
Snippets Groups Projects
Verified Commit be1d7d89 authored by René Fritze's avatar René Fritze
Browse files

[clang-format] do not sort includes

parent 1e1578e7
No related branches found
No related tags found
No related merge requests found
# This file is part of the dune-xt-la project:
# https://github.com/dune-community/dune-xt-common
# The copyright lies with the authors of this file (see below).
# License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# Authors:
# Felix Schindler (2015 - 2016)
# Rene Milk (2009, 2015)
# #
# http://llvm.org/releases/3.7.0/tools/clang/docs/ClangFormatStyleOptions.html
AlignAfterOpenBracket: true AlignAfterOpenBracket: true
AlignConsecutiveAssignments: true AlignConsecutiveAssignments: true
AlignEscapedNewlinesLeft: false AlignEscapedNewlinesLeft: false
...@@ -21,6 +13,7 @@ AllowShortLoopsOnASingleLine: false ...@@ -21,6 +13,7 @@ AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: false AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true AlwaysBreakTemplateDeclarations: true
# Authors:
BasedOnStyle: Mozilla BasedOnStyle: Mozilla
BinPackArguments: false BinPackArguments: false
BinPackParameters: true # this applies to template arguments, function arguments and typedefs, so we cannot set this to false (very much unfortunately)! BinPackParameters: true # this applies to template arguments, function arguments and typedefs, so we cannot set this to false (very much unfortunately)!
...@@ -35,11 +28,15 @@ ContinuationIndentWidth: 4 ...@@ -35,11 +28,15 @@ ContinuationIndentWidth: 4
Cpp11BracedListStyle: true Cpp11BracedListStyle: true
DerivePointerAlignment: false DerivePointerAlignment: false
ExperimentalAutoDetectBinPacking: false ExperimentalAutoDetectBinPacking: false
# Felix Schindler (2015 - 2016)
# http://llvm.org/releases/3.7.0/tools/clang/docs/ClangFormatStyleOptions.html
# https://github.com/dune-community/dune-xt-common
IndentCaseLabels: true IndentCaseLabels: true
IndentWidth: 2 IndentWidth: 2
IndentWrappedFunctionNames: false IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: true KeepEmptyLinesAtTheStartOfBlocks: true
Language: Cpp Language: Cpp
# License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
MaxEmptyLinesToKeep: 2 MaxEmptyLinesToKeep: 2
NamespaceIndentation: None NamespaceIndentation: None
PenaltyBreakComment: 60 PenaltyBreakComment: 60
...@@ -48,6 +45,8 @@ PenaltyBreakString: 1000 ...@@ -48,6 +45,8 @@ PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000 PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60 PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left PointerAlignment: Left
# Rene Milk (2009, 2015)
SortIncludes: false
SpaceAfterCStyleCast: false SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements SpaceBeforeParens: ControlStatements
...@@ -59,4 +58,6 @@ SpacesInParentheses: false ...@@ -59,4 +58,6 @@ SpacesInParentheses: false
SpacesInSquareBrackets: false SpacesInSquareBrackets: false
Standard: Cpp11 Standard: Cpp11
TabWidth: 2 TabWidth: 2
# The copyright lies with the authors of this file (see below).
# This file is part of the dune-xt-la project:
UseTab: Never UseTab: Never
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment