diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-05-31 17:19:46 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-05-31 17:29:37 +0300 |
commit | 01178e24a1066fe3335a0b1442d1017ca82f1a0c (patch) | |
tree | ff3d7e0713dfb0318aad86aa2c4ab079fa008a80 /build/config/tests/cpp_style | |
parent | 545ff2ebeef979842ac18896bfa01828efa8f1c2 (diff) | |
download | ydb-01178e24a1066fe3335a0b1442d1017ca82f1a0c.tar.gz |
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
Diffstat (limited to 'build/config/tests/cpp_style')
-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 d689209015..ecb93ab189 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 |