From d2862abe19f233f936ad61550df88db5b41049c8 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 31 May 2024 11:21:45 +0200 Subject: .clang-format: prepare for C++ code The default -2 space class access modifier offset does not work well with tabs. We have everything aligned with tabs, but access modifiers have 6 spaces. -8 spaces effectively removes 1 tab. --- .clang-format | 1 + 1 file changed, 1 insertion(+) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index 48dba297b..da47af9bf 100644 --- a/.clang-format +++ b/.clang-format @@ -11,4 +11,5 @@ AllowShortFunctionsOnASingleLine: false AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false ColumnLimit: 0 +AccessModifierOffset: -8 -- cgit mrf-deployment