Skip to content

Commit

Permalink
Format: add .clang-format file
Browse files Browse the repository at this point in the history
  • Loading branch information
eric15342335 committed Apr 4, 2024
1 parent 01eac2a commit bd45f13
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
Standard: Cpp11
Language: Cpp
UseTab: ForContinuationAndIndentation
IndentWidth: '4'
TabWidth: '4'

BreakBeforeBraces: Custom
BraceWrapping:
BeforeElse: True

DerivePointerAlignment: 'false'
PointerAlignment: Middle

ReflowComments: 'true'

...

0 comments on commit bd45f13

Please sign in to comment.