From ebc3b5c9f8ff2b4a4ade884da922f39bf32ad269 Mon Sep 17 00:00:00 2001 From: flouthoc Date: Tue, 20 Feb 2024 22:13:42 -0800 Subject: [PATCH] .clang-format: fix duplicated mapping key 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 --- .clang-format | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.clang-format b/.clang-format index de0956d..8ab777e 100644 --- a/.clang-format +++ b/.clang-format @@ -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