mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-29 19:05:44 -05:00
84 lines
2.4 KiB
YAML
Executable file
84 lines
2.4 KiB
YAML
Executable file
# the official .clang-format style for https://github.com/taocpp
|
|
#
|
|
# clang-format -i -style=file $(find . -name '[^.]*.[hc]pp')
|
|
|
|
Language: Cpp
|
|
Standard: Latest
|
|
|
|
AccessModifierOffset: -3
|
|
AlignAfterOpenBracket: Align
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignEscapedNewlinesLeft: false
|
|
AlignOperands: true
|
|
AlignTrailingComments: true
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BraceWrapping:
|
|
AfterClass: true
|
|
AfterControlStatement: false
|
|
AfterEnum : true
|
|
AfterFunction : true
|
|
AfterNamespace : true
|
|
AfterStruct : true
|
|
AfterUnion : true
|
|
AfterExternBlock: true
|
|
BeforeCatch : true
|
|
BeforeElse : true
|
|
IndentBraces : false
|
|
SplitEmptyFunction: false
|
|
SplitEmptyRecord: false
|
|
SplitEmptyNamespace: false
|
|
BreakBeforeBinaryOperators: All
|
|
BreakBeforeBraces: Custom
|
|
BreakBeforeTernaryOperators: false
|
|
BreakConstructorInitializers: BeforeColon
|
|
BreakInheritanceList: BeforeColon
|
|
BreakStringLiterals: false
|
|
ColumnLimit: 0
|
|
CompactNamespaces: false
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 3
|
|
ContinuationIndentWidth: 3
|
|
Cpp11BracedListStyle: false
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
ExperimentalAutoDetectBinPacking: false
|
|
FixNamespaceComments: true
|
|
IncludeBlocks: Preserve
|
|
IndentCaseLabels: true
|
|
IndentPPDirectives: None
|
|
IndentWidth: 3
|
|
IndentWrappedFunctionNames: false
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: All
|
|
PointerAlignment: Left
|
|
ReflowComments: false
|
|
SortIncludes: true
|
|
SortUsingDeclarations: false
|
|
SpaceAfterCStyleCast: false
|
|
SpaceAfterTemplateKeyword: false
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeCpp11BracedList: false
|
|
SpaceBeforeCtorInitializerColon: true
|
|
SpaceBeforeInheritanceColon: true
|
|
SpaceBeforeParens: Never
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 2
|
|
SpacesInAngles: true
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInParentheses: true
|
|
SpacesInSquareBrackets: true
|
|
TabWidth: 8
|
|
UseTab: Never
|