From ba835fcfffc0fa0bf3d5b94a9e1220e8d2f5c3ad Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Thu, 2 May 2024 20:53:10 +0900 Subject: [PATCH] Fix clang-format-11 brace wrapping rule There was some error when we try to execute clang-format-11 for csharp-binder. if { // blabla } else { // bla bla } This rule was not matched with dali coding style guide. Let we change error value for clang-format file. Note : Since we dont want to tab for extern cases, we need to use Custom, instead of Allman. Change-Id: I29127a7dc8fc0d75287f2f67ee4baf1e5673e907 Signed-off-by: Eunki, Hong --- .clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 7d18b039..7fdaf1a4 100644 --- a/.clang-format +++ b/.clang-format @@ -30,8 +30,8 @@ BraceWrapping: AfterStruct: true AfterUnion: true AfterExternBlock: false - BeforeCatch: false - BeforeElse: false + BeforeCatch: true + BeforeElse: true IndentBraces: false SplitEmptyFunction: true SplitEmptyRecord: true -- 2.34.1