Ascendent/.clang-format
S David 080094c474
Some checks failed
buildbot/Ascendent (Alpine) Build done.
buildbot/Ascendent (FreeBSD) Build done.
Update clang-format configuration; reformat source files.
Use std::set_terminate to a function that can handle the engine's
nested exceptions and prints a stacktrace.

Closes #22 - Unify source formatting with clang-format
Closes #19 - Integrate exception handling and backtrace into main
function
2022-09-14 22:38:53 -04:00

40 lines
927 B
YAML

---
BasedOnStyle: Mozilla
Language: Cpp
IndentWidth: 8
UseTab: AlignWithSpaces
ColumnLimit: 81
AccessModifierOffset: -4
BinPackParameters: true
AlignAfterOpenBracket: BlockIndent
AlignOperands: AlignAfterOperator
AlwaysBreakAfterDefinitionReturnType: TopLevel
AlwaysBreakAfterReturnType: None
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 4
ConstructorInitializerAllOnOneLineOrOnePerLine: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: MultiLine
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: false
SplitEmptyNamespace: true
---