Skip to content

Commit

Permalink
Remove duplicated mapping from clang-format config
Browse files Browse the repository at this point in the history
The .clang-format config contained the mapping key `AllowAllParametersOfDeclarationOnNextLine` twice, which fails with the following error. (Or at least it failed for me, using `[email protected]`).

Error:
```plaintext
Error reading /<the-path>/.clang-format: Invalid argument
/<the-path>/.clang-format:15:1: error: duplicated mapping key 'AllowAllParametersOfDeclarationOnNextLine'
AllowAllParametersOfDeclarationOnNextLine: false
```
  • Loading branch information
tomknig authored Oct 7, 2024
1 parent e52a0e6 commit 6ff1769
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ SortIncludes: false
SpaceAfterCStyleCast: true
AllowShortCaseLabelsOnASingleLine: false
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: None
BinPackArguments: false
Expand Down

0 comments on commit 6ff1769

Please sign in to comment.