Skip to content

Commit

Permalink
style(clang-format): don't indent case statements
Browse files Browse the repository at this point in the history
  • Loading branch information
zetok committed Feb 26, 2017
1 parent 2abbbbf commit 4367dc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Standard: Cpp11
IndentWidth: 4
ContinuationIndentWidth: 4
AccessModifierOffset: -4
IndentCaseLabels: true
IndentCaseLabels: false
NamespaceIndentation: None

# Spacing
Expand Down
6 changes: 3 additions & 3 deletions doc/coding_standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ public:
// Some code here

switch (...) {
case 0: {
// Some code here
}
case 0: {
// Some code here
}
}

// More code
Expand Down

0 comments on commit 4367dc6

Please sign in to comment.