From e38f1aa2eea87677d6ee1fab5609790d1441a873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borna=20=C5=A0o=C5=A1tari=C4=87?= Date: Sun, 18 Jan 2026 10:40:34 +0100 Subject: [PATCH] add .clang-format --- .clang-format | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..d9bcc1f --- /dev/null +++ b/.clang-format @@ -0,0 +1,19 @@ +BasedOnStyle: Google +IndentWidth: 4 +TabWidth: 4 +UseTab: Never +ColumnLimit: 80 + +DerivePointerAlignment: false +PointerAlignment: Right +ReferenceAlignment: Right + +IncludeBlocks: Regroup +IncludeCategories: + # Std headers + - Regex: '<[[:alnum:]_.]+>' + Priority: 2 + + # Other headers + - Regex: '.*' + Priority: 1