Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxCrazy1101 committed Jan 11, 2023
0 parents commit 4f721e2
Show file tree
Hide file tree
Showing 188 changed files with 118,179 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
BasedOnStyle: Microsoft
Language: Cpp

###################################
# indent conf
###################################

UseTab: Never
IndentWidth: 4
TabWidth: 4
ColumnLimit: 0
AccessModifierOffset: -4
NamespaceIndentation: All
FixNamespaceComments: false
BreakBeforeBraces: Linux

###################################
# other styles
###################################

#
# for more conf, you can ref: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
#

AllowShortIfStatementsOnASingleLine: true

AllowShortLoopsOnASingleLine: true

AllowShortBlocksOnASingleLine: true

IndentCaseLabels: true

SortIncludes: false

AlignConsecutiveMacros: AcrossEmptyLines

AlignConsecutiveAssignments: Consecutive
Loading

0 comments on commit 4f721e2

Please sign in to comment.