Skip to content

Commit

Permalink
.clang-format: fix duplicated mapping key
Browse files Browse the repository at this point in the history
New clang versions throw error like, following commit fixes that

```console
.clang-format:26:1: error: duplicated mapping key 'AllowShortIfStatementsOnASingleLine'
AllowShortIfStatementsOnASingleLine: false
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
  • Loading branch information
flouthoc committed Feb 21, 2024
1 parent c2dd76c commit ebc3b5c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: true
BinPackParameters: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortBlocksOnASingleLine: false
BreakBeforeBraces: Allman
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
Expand Down

0 comments on commit ebc3b5c

Please sign in to comment.