aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.clang-format
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-12 22:59:04 +0200
committerEgor Tensin <egor@tensin.name>2026-06-12 22:59:04 +0200
commiteba873815bbb803fb298e3fb07502d22e3c5df6e (patch)
tree47794c27c6a4c1245b6ae14024dcf0f068605209 /.clang-format
parentcmake: use CONFIGURE_DEPENDS (diff)
downloadwinapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.tar.gz
winapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.zip
unify my .clang-format files
Diffstat (limited to '')
-rw-r--r--.clang-format9
1 files changed, 8 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index e2ecaef..d75ff99 100644
--- a/.clang-format
+++ b/.clang-format
@@ -2,12 +2,19 @@
Language: Cpp
BasedOnStyle: Chromium
+IndentWidth: 4
+
AccessModifierOffset: -4
+AlignConsecutiveMacros: AcrossComments
+AllowShortFunctionsOnASingleLine: Empty
BinPackArguments: false
+BreakConstructorInitializers: BeforeComma
+BreakInheritanceList: BeforeComma
+BreakStringLiterals: false
ColumnLimit: 100
IncludeBlocks: Regroup
-IndentWidth: 4
SpacesBeforeTrailingComments: 1
+WrapNamespaceBodyWithEmptyLines: Always
IncludeCategories:
- Regex: '^".+'