diff options
Diffstat (limited to 'userspace')
| -rw-r--r-- | userspace/.clang-format | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/userspace/.clang-format b/userspace/.clang-format new file mode 100644 index 0000000..e331ac6 --- /dev/null +++ b/userspace/.clang-format @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: BSD-3-Clause +# +# Userspace library style: LLVM base, 4-space indent, ~100 columns +# (see docs/07-developers/onboarding-and-standards.md 3.2). +# Existing files are NOT to be mass-reformatted; this config governs new +# code and hunks that are already being edited. +--- +Language: Cpp +BasedOnStyle: LLVM +AllowShortFunctionsOnASingleLine: Empty +BreakBeforeBraces: Attach +ColumnLimit: 100 +DerivePointerAlignment: false +IndentWidth: 4 +PointerAlignment: Right +SortIncludes: Never +TabWidth: 4 +UseTab: Never |
