Skip to content

Commit

Permalink
winapi: Add clang-format file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryzee119 committed Jun 16, 2024
1 parent fafaf26 commit 97f973d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lib/winapi/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
BasedOnStyle: Microsoft
ColumnLimit: 0
IndentCaseLabels: true
AlignTrailingComments: true
InsertBraces: true # Requires clang-format 15

SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterFunctionDefinitionName: true
AfterFunctionDeclarationName: true

BreakBeforeBraces: Custom
BraceWrapping:
AfterControlStatement: false
AfterExternBlock: false
BeforeElse: false
AfterUnion: true

TypeNames: [VOID, PVOID, LPVOID]

0 comments on commit 97f973d

Please sign in to comment.