Commit 8f8c9b55 by Nicolas Capens Committed by Nicolas Capens

Add IndentCaseBlocks to .clang-format

This option is supported since clang-format version 11. Just use the default value for now, to not change the formatting but ensure we have a compatible version of the tool available where required. Bug: b/144825072 Change-Id: If5787f7a8f3502bae5c16e561599f87f4b90f6d6 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/50528 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent dac99e82
...@@ -71,6 +71,7 @@ IncludeCategories: ...@@ -71,6 +71,7 @@ IncludeCategories:
- Regex: '.*' - Regex: '.*'
Priority: 5 Priority: 5
IncludeIsMainRegex: '([-_](test|unittest))?$' IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentCaseBlocks: false
IndentCaseLabels: true IndentCaseLabels: true
IndentPPDirectives: AfterHash IndentPPDirectives: AfterHash
IndentWidth: 4 IndentWidth: 4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment