Skip to content

Commit

Permalink
add format file
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihsin committed Dec 3, 2024
1 parent 2935fbe commit 21fdbd6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
BasedOnStyle: Google
Language: Cpp
UseTab: Never
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 2
IndentWidth: 2
AllowShortIfStatementsOnASingleLine: true
AlwaysBreakTemplateDeclarations: true
Standard: c++20
BreakBeforeBraces: Attach
NamespaceIndentation: All
ColumnLimit: 100
IndentPPDirectives: BeforeHash
IndentCaseLabels: true
IndentCaseBlocks: false
IndentAccessModifiers: false
IndentWrappedFunctionNames: true
AlignTrailingComments: false
SortIncludes: false

0 comments on commit 21fdbd6

Please sign in to comment.