Skip to content

Commit

Permalink
Reformat C code using clang-format (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcara authored Oct 24, 2024
1 parent b850d47 commit 4b61557
Show file tree
Hide file tree
Showing 13 changed files with 2,095 additions and 2,130 deletions.
17 changes: 17 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
BasedOnStyle: Google
Language: Cpp
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterDefinitionReturnType: TopLevel
DerivePointerAlignment: false
PointerAlignment: Right
SortIncludes: false
SortUsingDeclarations: false
IndentWidth: 4
TabWidth: 4
UseTab: Never
AlignConsecutiveMacros: true
ReflowComments: true
SpaceBeforeParens: ControlStatements

...
Loading

0 comments on commit 4b61557

Please sign in to comment.