commit | 9441d46b331ef67e4c6212af674562630b349e72 | [log] [tgz] |
---|---|---|
author | Alan Kelly <alankelly@google.com> | Tue Jan 11 09:41:31 2022 -0800 |
committer | XNNPACK Team <xnnpack-github-robot@google.com> | Tue Jan 11 09:42:29 2022 -0800 |
tree | 1666214953d13576bf99db952aea34a29c391ddf | |
parent | c27f04bafe9f4c0e053e14ffa48d6774c06a7a12 [diff] [blame] |
clang-format indents case labels with in switches matching existing XNNPACK style. PiperOrigin-RevId: 421054265
diff --git a/.clang-format b/.clang-format index e651c3d..486bda4 100644 --- a/.clang-format +++ b/.clang-format
@@ -9,6 +9,7 @@ PointerAlignment: Left ForEachMacros: ['XNN_UNPREDICTABLE', 'XNN_LIKELY', 'XNN_UNLIKELY'] IfMacros: ['IF'] +IndentCaseLabels: true SpaceBeforeParens: Custom SpaceBeforeParensOptions: AfterControlStatements: true