Skip to content

Commit

Permalink
Add initial source code (#1)
Browse files Browse the repository at this point in the history
* Initial source commit
  • Loading branch information
abeltrano authored Jun 7, 2021
1 parent 7518f0b commit 973dec1
Show file tree
Hide file tree
Showing 130 changed files with 25,007 additions and 372 deletions.
112 changes: 112 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: false
# AlignConsecutiveBitFields: true
AlignConsecutiveDeclarations: false
# AlignConsecutiveMacros: true
AlignEscapedNewlines: Right
AlignOperands: false
AlignTrailingComments: true
# AllowAllArgumentsOnNextLine: true
# AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
# AllowShortLambdasOnASingleLine: Inline
# AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: InlineOnly
# AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: All
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BasedOnStyle: WebKit
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
# AfterCaseLabel: false
AfterClass: true
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BreakInheritanceList: AfterColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: AfterColon
BreakStringLiterals: false
ColumnLimit: 0
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth : 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
# DeriveLineEnding: true
DerivePointerAlignment: true
FixNamespaceComments: true
ForEachMacros: [
'list_for_each',
'list_for_each_prev',
'list_for_each_safe',
'list_for_each_prev_safe',
'list_for_each_entry',
'list_for_each_entry_reverse',
'list_for_each_entry_continue',
'list_for_each_entry_continue_reverse',
'list_for_each_entry_from',
'list_for_each_entry_from_reverse',
'list_for_each_entry_safe',
'list_for_each_entry_safe_continue',
'list_for_each_entry_safe_from',
'list_for_each_entry_safe_reverse'
]
IncludeBlocks: Preserve
# IndentCaseBlocks: false
IndentCaseLabels: true
# IndentExternBlock: NoIndent
# IndentGotoLabels: false
IndentPPDirectives: None
IndentWidth: 4
# InsertTrailingCommas: Wrapped
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
# SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
# SpaceAroundPointerQualifiers: After
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
# SpaceBeforeSquareBrackets: false
# SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
# SpacesInConditionalStatement: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 4
Standard: Cpp11
# UseCRLF: false
UseTab: Never
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.gitattributes export-ignore
.gitignore export-ignore
.vscode/ export-ignore
Loading

0 comments on commit 973dec1

Please sign in to comment.