aboutsummaryrefslogtreecommitdiffhomepage
path: root/.clang-format
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-20 00:31:42 +0900
committernsfisis <nsfisis@gmail.com>2025-08-20 00:31:42 +0900
commita2da09917886860ed478f4b37c31543e869cbd64 (patch)
tree706ca748fc163d5309818404fe5dda3a854937db /.clang-format
parent318db06a494fa8a707aa04eab029abb74932885e (diff)
downloadducc-a2da09917886860ed478f4b37c31543e869cbd64.tar.gz
ducc-a2da09917886860ed478f4b37c31543e869cbd64.tar.zst
ducc-a2da09917886860ed478f4b37c31543e869cbd64.zip
chore: tweak .clang-format
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format8
1 files changed, 3 insertions, 5 deletions
diff --git a/.clang-format b/.clang-format
index b80700c..35dc112 100644
--- a/.clang-format
+++ b/.clang-format
@@ -4,15 +4,13 @@ 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
+KeepEmptyLines:
+ AtStartOfBlock: false
+ AtStartOfFile: false
PointerAlignment: Left