Skip to content

Commit

Permalink
add clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
burhanr13 committed Nov 26, 2024
1 parent e6ef300 commit fcdb816
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
BasedOnStyle: LLVM
IndentWidth: 4
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
PointerAlignment: Left
SpaceAfterCStyleCast: true
SortIncludes: true
AccessModifierOffset: -4
IndentCaseLabels: true
ColumnLimit: 80

0 comments on commit fcdb816

Please sign in to comment.