Format: Update clang format

Old clang format file was extremely broken, causing issues when viewing
code on github, and also featuring stale values.

- Fix indentation information
- Force wrapping on lambdas
This commit is contained in:
JohnHolmesII 2020-12-29 13:40:16 -08:00 committed by Ivan
parent 220b69058c
commit e68027b464

View File

@ -1,20 +1,20 @@
Standard: Cpp11 Standard: c++20
UseTab: ForIndentation UseTab: ForIndentation
TabWidth: 1 TabWidth: 4
IndentWidth: 1 IndentWidth: 4
AccessModifierOffset: -1 AccessModifierOffset: -4
PointerAlignment: Left PointerAlignment: Left
NamespaceIndentation: All NamespaceIndentation: All
ColumnLimit: 200 ColumnLimit: 0
BreakBeforeBraces: Allman BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: true BreakConstructorInitializers: BeforeColon
BreakBeforeBinaryOperators: false BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: false BreakBeforeTernaryOperators: false
AlwaysBreakTemplateDeclarations: true AlwaysBreakTemplateDeclarations: Yes
AllowShortIfStatementsOnASingleLine: false AllowShortIfStatementsOnASingleLine: Never
AllowShortBlocksOnASingleLine: false AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: true AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: false AllowShortFunctionsOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false AllowShortLoopsOnASingleLine: false
Cpp11BracedListStyle: true Cpp11BracedListStyle: true
IndentCaseLabels: false IndentCaseLabels: false