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 +...