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

36 lines
629 B
Plaintext

Language: Cpp
IndentWidth: 4
AccessModifierOffset: -4
ColumnLimit: 80
UseTab: ForContinuationAndIndentation
TabWidth: 4
SortIncludes: false
AlignAfterOpenBracket: DontAlign
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterFunction: true
AfterNamespace: false
AfterControlStatement: true
BeforeElse: true
BeforeCatch: true
MaxEmptyLinesToKeep: 1
Standard: Auto
IndentCaseLabels: true
BinPackArguments: true
BinPackParameters: true
AllowShortFunctionsOnASingleLine: false
NamespaceIndentation: Inner