Skip to content

Commit

Permalink
Add clang format
Browse files Browse the repository at this point in the history
This clang format file was generated using LLVMs tool to "detect" code style from existing code files. It's pretty close to what was already there.
  • Loading branch information
DeveloperPaul123 committed Aug 1, 2023
1 parent 983f1cb commit c3d4a15
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Format Style Options - Created with Clang Power Tools
---
ColumnLimit: 80
BasedOnStyle: Microsoft
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignOperands: DontAlign
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
BraceWrapping:
AfterEnum: false
AfterNamespace: false
AfterStruct: false
BeforeElse: false
SplitEmptyFunction: false
SplitEmptyRecord: false
BreakBeforeBraces: WebKit
BreakConstructorInitializersBeforeComma: true
DerivePointerAlignment: true
FixNamespaceComments: false
MaxEmptyLinesToKeep: 2
...

0 comments on commit c3d4a15

Please sign in to comment.