Browse Source

style(clang-format): don't indent `case` statements

pull/4191/head
Zetok Zalbavar 8 years ago
parent
commit
4367dc601d
No known key found for this signature in database
GPG Key ID: C953D3880212068A
  1. 2
      .clang-format
  2. 6
      doc/coding_standards.md

2
.clang-format

@ -7,7 +7,7 @@ Standard: Cpp11 @@ -7,7 +7,7 @@ Standard: Cpp11
IndentWidth: 4
ContinuationIndentWidth: 4
AccessModifierOffset: -4
IndentCaseLabels: true
IndentCaseLabels: false
NamespaceIndentation: None
# Spacing

6
doc/coding_standards.md

@ -77,9 +77,9 @@ public: @@ -77,9 +77,9 @@ public:
// Some code here
switch (...) {
case 0: {
// Some code here
}
case 0: {
// Some code here
}
}
// More code

Loading…
Cancel
Save