Skip to content

Commit

Permalink
Formatting rules update -- indentation rules improvements (nanocurren…
Browse files Browse the repository at this point in the history
…cy#3506)

* Update clang-format rules

* Remove superfluous clang-format rule

* Adjust formatting rules: make continuation indentation 0
  • Loading branch information
theohax authored Oct 19, 2021
1 parent 7b5e4d7 commit 008d725
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
BasedOnStyle: Webkit
Language: Cpp
Language: Cpp
SpaceBeforeParens: Always
SpaceAfterTemplateKeyword: true
Standard: Cpp11
TabWidth: 4
Standard: Cpp11
TabWidth: 4
IndentWidth: 4
PointerAlignment: Middle
UseTab: ForContinuationAndIndentation
Expand All @@ -15,9 +15,9 @@ AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 0
KeepEmptyLinesAtTheStartOfBlocks: false
IndentCaseLabels: true
Expand Down

0 comments on commit 008d725

Please sign in to comment.