From 64c2a79f0f6ed28a4069359a27c082a2dcaf7562 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Mon, 6 Jan 2025 16:11:12 +0100 Subject: [PATCH] Add clang-format file --- .clang-format | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..5d341ef6 --- /dev/null +++ b/.clang-format @@ -0,0 +1,26 @@ +# Format Style Options - Created with Clang Power Tools +--- +BasedOnStyle: Microsoft +AlwaysBreakTemplateDeclarations: Yes +BreakConstructorInitializers: BeforeColon +DerivePointerAlignment: false +FixNamespaceComments: false +KeepEmptyLinesAtTheStartOfBlocks: false +Language: Cpp +MaxEmptyLinesToKeep: 1 +NamespaceIndentation: All +PointerAlignment: Left +SortIncludes: false +AlignEscapedNewlines: Left +PackConstructorInitializers: Never +IndentPPDirectives: None +AlignConsecutiveMacros: + Enabled: true + AcrossEmptyLines: true + AcrossComments: true + AlignCompound: true + PadOperators: true +BraceWrapping: + AfterStruct: true + AfterUnion: true +...