diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-05-31 11:21:45 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-06-03 09:42:24 +0000 |
| commit | d2862abe19f233f936ad61550df88db5b41049c8 (patch) | |
| tree | 2b4d736ec82c49fc3f45489c04bd4a0ef7295916 | |
| parent | dd924e4ecae5264ef24e87d4b43e38b51a4540fb (diff) | |
.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.
| -rw-r--r-- | .clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
