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 22, 2024
1 parent fafaf26 commit 736d943
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lib/winapi/.clang-format
Original file line number Diff line number Diff line change
@@ -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]

0 comments on commit 736d943

Please sign in to comment.