diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-07 20:34:46 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-07 20:34:46 +0900 |
| commit | 2fbd49fc0867561c263d098d0f5c1dee7a06faf1 (patch) | |
| tree | 66b6e36e08e6dcce46b3e9dc8ba0c24f4d3b41ac /.clang-format | |
| parent | f427d5c99f0380d7f547101878e36ef5008e248b (diff) | |
| download | ducc-2fbd49fc0867561c263d098d0f5c1dee7a06faf1.tar.gz ducc-2fbd49fc0867561c263d098d0f5c1dee7a06faf1.tar.zst ducc-2fbd49fc0867561c263d098d0f5c1dee7a06faf1.zip | |
add .clang-format
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..b80700c --- /dev/null +++ b/.clang-format @@ -0,0 +1,18 @@ +# https://clang.llvm.org/docs/ClangFormatStyleOptions.html + +Language: Cpp +Standard: Latest +BasedOnStyle: LLVM + +AccessModifierOffset: -4 +AlignEscapedNewlines: DontAlign +AlignTrailingComments: false +AllowShortBlocksOnASingleLine: Never +AllowShortFunctionsOnASingleLine: None +AlwaysBreakTemplateDeclarations: Yes +BreakStringLiterals: false +ColumnLimit: 120 +IndentWidth: 4 +KeepEmptyLinesAtTheStartOfBlocks: false +MaxEmptyLinesToKeep: 1 +PointerAlignment: Left |
