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
IndentWidth: 4 IndentWidth: 4
ContinuationIndentWidth: 4 ContinuationIndentWidth: 4
AccessModifierOffset: -4 AccessModifierOffset: -4
IndentCaseLabels: true IndentCaseLabels: false
NamespaceIndentation: None NamespaceIndentation: None
# Spacing # Spacing

6
doc/coding_standards.md

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

Loading…
Cancel
Save