This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/clang/clang-format
2018-10-19 11:53:09 +02:00

61 lines
1.2 KiB
Plaintext
Executable File

Language: Cpp
IndentWidth: 4
AccessModifierOffset: -4
ColumnLimit: 100
UseTab: ForIndentation
TabWidth: 4
SortIncludes: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterUnion: true
AfterFunction: true
AfterEnum: true
AfterNamespace: false
AfterControlStatement: true
BeforeElse: true
BeforeCatch: true
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
Standard: Auto
IndentCaseLabels: true
BinPackArguments: true
BinPackParameters: true
AllowShortFunctionsOnASingleLine: false
NamespaceIndentation: Inner
ReflowComments: false
PenaltyBreakComment: 1000000
AllowAllParametersOfDeclarationOnNextLine: true
AlwaysBreakTemplateDeclarations: Yes
AlwaysBreakBeforeMultilineStrings: true
SpaceAfterTemplateKeyword: false
SpaceBeforeParens: ControlStatements
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
CompactNamespaces: true
FixNamespaceComments: false
AlignTrailingComments: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false