Skip to content
Draft
Changes from all commits
Commits
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 @@
BasedOnStyle: Microsoft
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlines: Left
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AlwaysBreakAfterReturnType: None
ColumnLimit: 320
IndentWidth: 4
PointerAlignment: Right
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
TabWidth: 4
UseTab: Never
IndentPPDirectives: BeforeHash
AlignConsecutiveAssignments: Consecutive
BraceWrapping:
AfterEnum: false
BreakFunctionDefinitionParameters: false
Cpp11BracedListStyle: false
IndentCaseLabels: false
MaxEmptyLinesToKeep: 2
# ReflowComments: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpacesBeforeTrailingComments: 1
Loading