Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: refactor 2.0 #59

Open
wants to merge 29 commits into
base: refactor/dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Language: Cpp
BasedOnStyle: LLVM
SortIncludes: false
ColumnLimit: 100
IndentWidth: 2
PointerAlignment: Right
AlignTrailingComments: true
MaxEmptyLinesToKeep: 2
SpaceBeforeAssignmentOperators: true
DerivePointerAlignment: true
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
# AllowShortFunctionsOnASingleLine: SFS_None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: true
AlignAfterOpenBracket: Align
# AllowShortIfStatementsOnASingleLine: true
IndentCaseLabels: true
# AlignArrayOfStructures: Left
# ArrayInitializerAlignmentStyle: Left
# TrailingCommentsAlignmentKinds: TCAS_Always
AllowShortCaseLabelsOnASingleLine: false
AlignEscapedNewlines: Left
FixNamespaceComments: true
# AlwaysBreakAfterDefinitionReturnType: DRTBS_None
Loading