Skip to content
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