diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-10-20 19:48:22 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-10-20 19:48:22 +0800 |
| commit | 0dbee5806b28a598409be4649e4a9207200bacbf (patch) | |
| tree | c4f1a7dcd9efa35c96c68e9c7ec284afe2f5fa8f /.clang-format | |
| parent | 3e8d7d1270ace353cce0080a80021dcc7532f2be (diff) | |
| download | rcc-project-0dbee5806b28a598409be4649e4a9207200bacbf.tar.gz rcc-project-0dbee5806b28a598409be4649e4a9207200bacbf.tar.xz | |
[Dev] Configure build presets and code checks
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/.clang-format b/.clang-format index fc4f3fc..dc5d893 100644 --- a/.clang-format +++ b/.clang-format @@ -1,20 +1,12 @@ BasedOnStyle: LLVM -Language: Cpp -Standard: Latest -ColumnLimit: 100 -IndentWidth: 2 -ContinuationIndentWidth: 4 -UseTab: Never -BreakBeforeBraces: Attach -PointerAlignment: Right -ReferenceAlignment: Pointer -DerivePointerAlignment: false -NamespaceIndentation: None -FixNamespaceComments: true -SortIncludes: CaseSensitive -IncludeBlocks: Regroup -AllowShortFunctionsOnASingleLine: Empty +LineEnding: LF +BreakAfterReturnType: All +SpaceBeforeParens: Always +BreakBeforeBraces: Allman +AllowShortFunctionsOnASingleLine: None +AllowShortBlocksOnASingleLine: Never AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false -AllowShortCaseLabelsOnASingleLine: false -LineEnding: LF +AllowShortLambdasOnASingleLine: None +AllowShortEnumsOnASingleLine: false +InsertBraces: true |
