diff --git a/lib/winapi/.clang-format b/lib/winapi/.clang-format new file mode 100644 index 000000000..f62b3363c --- /dev/null +++ b/lib/winapi/.clang-format @@ -0,0 +1,21 @@ +BasedOnStyle: Microsoft +ColumnLimit: 0 +IndentCaseLabels: true +AlignTrailingComments: true +AlignConsecutiveMacros: true +InsertBraces: true + +SpaceBeforeParens: Custom +SpaceBeforeParensOptions: + AfterControlStatements: true + AfterFunctionDefinitionName: true + AfterFunctionDeclarationName: true + +BreakBeforeBraces: Custom +BraceWrapping: + AfterControlStatement: false + AfterExternBlock: false + BeforeElse: false + AfterUnion: true + +TypeNames: [VOID, PVOID, LPVOID]