summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-05-22 17:45:53 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-05-22 18:46:02 +0300
commit54f7ddad8df9616f001521ce6a98f01864bdc4ed (patch)
treee9bf6ab59d7a246d2c7713c7cfb6e81e8ab28281 /.clang-format
parent69f353069256230827258dc35e9059cc51982cf2 (diff)
downloadbmcweb-54f7ddad8df9616f001521ce6a98f01864bdc4ed.tar.xz
clang-format: Add AfterCaseLabel option from clang-10
Seeing code format CI fails. Caused by the recent move to clang-format-10: https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-build-scripts/+/32639 Added to the clang-format reference file here: https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/32696 Tested: None. Change-Id: I268ab08d01d40963792d1df4499c65ce039b605b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index dd27708378..d17cf52d4b 100644
--- a/.clang-format
+++ b/.clang-format
@@ -21,6 +21,7 @@ AlwaysBreakTemplateDeclarations: false
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
+ AfterCaseLabel: true
AfterClass: true
AfterControlStatement: true
AfterEnum: true