diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-10-28 15:57:41 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-10-28 15:57:41 +0200 |
commit | 0ae65472e71324b3bb0fb43038630d31e700e562 (patch) | |
tree | ca5f536016191d0e25a068bb5434ddf344b571a6 /.clang-format | |
parent | 3a6be64c12a3ba8edb646d5362c34de1a5fcc0bf (diff) |
clang-format: Enable `BreakBeforeTernaryOperators`
clang-format keeps breaking the way it handles break *after* ternary operators,
so I give up and go with the only style they seem to actually test.
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index a658f0fed7..e011f060b7 100644 --- a/.clang-format +++ b/.clang-format @@ -56,7 +56,7 @@ AllowShortFunctionsOnASingleLine: Inline # BreakBeforeBraces: Attach # BreakBeforeInheritanceComma: false # BreakInheritanceList: BeforeColon -BreakBeforeTernaryOperators: false +# BreakBeforeTernaryOperators: true # BreakConstructorInitializersBeforeComma: false BreakConstructorInitializers: AfterColon # BreakStringLiterals: true |