diff options
| author | thegeorg <[email protected]> | 2024-05-31 17:19:46 +0300 |
|---|---|---|
| committer | thegeorg <[email protected]> | 2024-05-31 17:29:37 +0300 |
| commit | 01178e24a1066fe3335a0b1442d1017ca82f1a0c (patch) | |
| tree | ff3d7e0713dfb0318aad86aa2c4ab079fa008a80 | |
| parent | 545ff2ebeef979842ac18896bfa01828efa8f1c2 (diff) | |
clang-format: set `SpacesInSquareBrackets` to false
https://clang.llvm.org/docs/ClangFormatStyleOptions.html#spacesinsquarebrackets
It looks like this is the default behavior though it is not clear neither from docs, nor from the code.
766f1ca523d39d476416af2a36de7579df7b9ebd
| -rw-r--r-- | build/config/tests/cpp_style/config.clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/config/tests/cpp_style/config.clang-format b/build/config/tests/cpp_style/config.clang-format index d6892090156..ecb93ab189d 100644 --- a/build/config/tests/cpp_style/config.clang-format +++ b/build/config/tests/cpp_style/config.clang-format @@ -37,6 +37,7 @@ PenaltyExcessCharacter: 1000000 PenaltyReturnTypeOnItsOwnLine: 60 PointerAlignment: Left SpacesBeforeTrailingComments: 1 +SpacesInSquareBrackets: false Cpp11BracedListStyle: true Standard: c++20 IndentWidth: 4 |
