From 4367dc601d119a85aa7c354774a0f564ce1d598e Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Sat, 25 Feb 2017 23:49:57 +0000 Subject: [PATCH] style(clang-format): don't indent `case` statements --- .clang-format | 2 +- doc/coding_standards.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index 95cde2467..fc48bf3ed 100644 --- a/.clang-format +++ b/.clang-format @@ -7,7 +7,7 @@ Standard: Cpp11 IndentWidth: 4 ContinuationIndentWidth: 4 AccessModifierOffset: -4 -IndentCaseLabels: true +IndentCaseLabels: false NamespaceIndentation: None # Spacing diff --git a/doc/coding_standards.md b/doc/coding_standards.md index 07d266968..87ad3043f 100644 --- a/doc/coding_standards.md +++ b/doc/coding_standards.md @@ -77,9 +77,9 @@ public: // Some code here switch (...) { - case 0: { - // Some code here - } + case 0: { + // Some code here + } } // More code