2023-07-24 19:19:21 -07:00
|
|
|
# Format Style Options - Created with Clang Power Tools
|
|
|
|
---
|
2024-12-10 21:13:36 -08:00
|
|
|
|
2024-12-13 19:09:43 -08:00
|
|
|
AttributeMacros: [
|
|
|
|
GEN_API
|
|
|
|
]
|
2024-12-10 21:13:36 -08:00
|
|
|
StatementMacros: [
|
|
|
|
GEN_NS_BEGIN,
|
|
|
|
GEN_NS_END,
|
|
|
|
GEN_NS_PARSER_BEGIN,
|
|
|
|
GEN_NS_PARSER_END,
|
|
|
|
GEN_API_C_BEGIN,
|
|
|
|
GEN_API_C_END,
|
|
|
|
GEN_IF_MACRO_DEFINED_INCLUDE_THIS_SLOT
|
|
|
|
]
|
|
|
|
Macros:
|
|
|
|
- enum_underlying(type)=type
|
|
|
|
- gen_enum_underlying(type)=type
|
2024-12-13 13:34:47 -08:00
|
|
|
# WhitespaceSensitiveMacros: [
|
|
|
|
# ]
|
2024-12-10 21:13:36 -08:00
|
|
|
|
2024-12-10 17:45:00 -08:00
|
|
|
TypenameMacros: [Array, Hashtable]
|
2024-12-10 21:13:36 -08:00
|
|
|
SkipMacroDefinitionBody: false
|
2024-12-10 17:45:00 -08:00
|
|
|
|
2023-07-24 19:19:21 -07:00
|
|
|
AccessModifierOffset: -4
|
|
|
|
|
|
|
|
AlignAfterOpenBracket: BlockIndent
|
2023-07-29 09:25:38 -07:00
|
|
|
AlignArrayOfStructures: Left
|
2023-07-24 19:19:21 -07:00
|
|
|
AlignConsecutiveAssignments:
|
|
|
|
Enabled: true
|
2023-08-03 08:01:43 -07:00
|
|
|
AcrossEmptyLines: true
|
|
|
|
AcrossComments: false
|
2023-07-24 19:19:21 -07:00
|
|
|
AlignCompound: true
|
|
|
|
PadOperators: true
|
2023-08-03 08:01:43 -07:00
|
|
|
AlignConsecutiveBitFields:
|
|
|
|
Enabled: true
|
|
|
|
AcrossEmptyLines: true
|
|
|
|
AcrossComments: false
|
|
|
|
AlignConsecutiveDeclarations:
|
|
|
|
Enabled: true
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: false
|
2023-07-26 11:21:20 -07:00
|
|
|
AlignConsecutiveMacros:
|
|
|
|
Enabled: true
|
|
|
|
AcrossEmptyLines: true
|
2023-08-03 08:01:43 -07:00
|
|
|
AcrossComments: false
|
2023-07-26 11:21:20 -07:00
|
|
|
AlignEscapedNewlines: Left
|
2023-07-24 19:19:21 -07:00
|
|
|
AlignOperands: DontAlign
|
|
|
|
|
|
|
|
AlignTrailingComments: true
|
|
|
|
|
|
|
|
AllowAllArgumentsOnNextLine: false
|
|
|
|
AllowAllConstructorInitializersOnNextLine: false
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
|
|
AllowShortBlocksOnASingleLine: Never
|
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
|
AllowShortLambdasOnASingleLine: None
|
|
|
|
AllowShortEnumsOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: None
|
|
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
|
|
|
2023-08-02 09:39:35 -07:00
|
|
|
BinPackArguments: false
|
|
|
|
BinPackParameters: false
|
2023-07-24 19:19:21 -07:00
|
|
|
|
|
|
|
BitFieldColonSpacing: Both
|
|
|
|
|
2023-07-26 11:21:20 -07:00
|
|
|
BraceWrapping:
|
2023-07-24 19:19:21 -07:00
|
|
|
AfterCaseLabel: false
|
|
|
|
AfterClass: false
|
|
|
|
AfterControlStatement: false
|
|
|
|
AfterEnum: false
|
|
|
|
AfterFunction: false
|
|
|
|
AfterNamespace: false
|
|
|
|
AfterObjCDeclaration: false
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: false
|
|
|
|
AfterExternBlock: false
|
|
|
|
BeforeCatch: false
|
|
|
|
BeforeElse: false
|
|
|
|
IndentBraces: false
|
|
|
|
SplitEmptyFunction: false
|
|
|
|
SplitEmptyRecord: false
|
|
|
|
SplitEmptyNamespace: false
|
|
|
|
BeforeLambdaBody: false
|
|
|
|
BeforeWhile: false
|
|
|
|
|
2023-07-29 09:25:38 -07:00
|
|
|
BreakAfterAttributes: Always
|
2023-08-03 08:01:43 -07:00
|
|
|
BreakArrays: true
|
2023-07-24 19:19:21 -07:00
|
|
|
# BreakBeforeInlineASMColon: OnlyMultiline
|
|
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
|
|
BreakBeforeBraces: Allman
|
|
|
|
BreakBeforeInheritanceComma: true
|
|
|
|
BreakInheritanceList: BeforeComma
|
|
|
|
BreakBeforeConceptDeclarations: true
|
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializers: BeforeComma
|
|
|
|
BreakStringLiterals: true
|
|
|
|
|
2023-08-03 08:01:43 -07:00
|
|
|
ColumnLimit: 160
|
2023-07-24 19:19:21 -07:00
|
|
|
|
|
|
|
CompactNamespaces: true
|
|
|
|
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
|
|
ConstructorInitializerIndentWidth : 4
|
|
|
|
|
2023-10-01 17:19:16 -07:00
|
|
|
ContinuationIndentWidth: 4
|
2023-07-24 19:19:21 -07:00
|
|
|
|
|
|
|
Cpp11BracedListStyle: false
|
|
|
|
|
|
|
|
DeriveLineEnding: true
|
|
|
|
|
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
|
|
|
|
FixNamespaceComments: true
|
|
|
|
|
|
|
|
IncludeBlocks: Preserve
|
|
|
|
|
2023-07-26 11:21:20 -07:00
|
|
|
IndentCaseBlocks: false
|
2023-08-02 09:39:35 -07:00
|
|
|
IndentCaseLabels: true
|
2023-07-24 19:19:21 -07:00
|
|
|
IndentExternBlock: AfterExternBlock
|
2023-07-29 09:25:38 -07:00
|
|
|
IndentGotoLabels: true
|
2023-08-06 14:19:57 -07:00
|
|
|
IndentPPDirectives: None
|
2023-07-24 19:19:21 -07:00
|
|
|
IndentRequires: true
|
|
|
|
IndentWidth: 4
|
2023-08-02 09:39:35 -07:00
|
|
|
IndentWrappedFunctionNames: true
|
2023-07-24 19:19:21 -07:00
|
|
|
|
|
|
|
# InsertNewlineAtEOF: true
|
2023-07-30 15:55:57 -07:00
|
|
|
# InsertTrailingCommas: Wrapped
|
2023-07-24 19:19:21 -07:00
|
|
|
|
|
|
|
LambdaBodyIndentation: OuterScope
|
|
|
|
|
|
|
|
Language: Cpp
|
|
|
|
|
|
|
|
MaxEmptyLinesToKeep: 4
|
|
|
|
|
|
|
|
NamespaceIndentation: All
|
|
|
|
|
|
|
|
PointerAlignment: Left
|
|
|
|
|
|
|
|
QualifierAlignment: Leave
|
|
|
|
|
|
|
|
ReferenceAlignment: Left
|
|
|
|
|
|
|
|
ReflowComments: true
|
|
|
|
|
|
|
|
# RequiresExpressionIndentation: OuterScope
|
|
|
|
|
|
|
|
SeparateDefinitionBlocks: Always
|
|
|
|
|
|
|
|
ShortNamespaceLines: 40
|
|
|
|
|
2023-07-29 09:25:38 -07:00
|
|
|
SortIncludes: false
|
2023-08-03 08:01:43 -07:00
|
|
|
SortUsingDeclarations: false
|
2023-07-24 19:19:21 -07:00
|
|
|
|
|
|
|
SpaceAfterCStyleCast: false
|
|
|
|
SpaceAfterLogicalNot: true
|
|
|
|
SpaceAfterTemplateKeyword: false
|
|
|
|
|
|
|
|
SpaceAroundPointerQualifiers: Default
|
|
|
|
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeCaseColon: true
|
|
|
|
SpaceBeforeCpp11BracedList: true
|
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
|
SpaceBeforeInheritanceColon: true
|
|
|
|
SpaceBeforeParens: ControlStatementsExceptControlMacros
|
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
|
|
SpaceBeforeSquareBrackets: false
|
|
|
|
SpacesBeforeTrailingComments: 4
|
|
|
|
|
2024-04-17 14:40:32 -07:00
|
|
|
SpaceInEmptyBlock: false
|
2023-07-24 19:19:21 -07:00
|
|
|
SpaceInEmptyParentheses: false
|
2024-04-17 14:40:32 -07:00
|
|
|
SpacesInAngles: false
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInConditionalStatement: false
|
|
|
|
SpacesInContainerLiterals: false
|
2023-07-24 19:19:21 -07:00
|
|
|
SpacesInLineCommentPrefix:
|
|
|
|
Minimum: 1
|
|
|
|
Maximum: 20
|
|
|
|
SpacesInParentheses: true
|
2024-04-17 14:40:32 -07:00
|
|
|
SpacesInSquareBrackets: false
|
2023-07-24 19:19:21 -07:00
|
|
|
|
|
|
|
Standard: c++17
|
|
|
|
|
|
|
|
TabWidth: 4
|
|
|
|
|
|
|
|
UseTab: ForIndentation
|
|
|
|
...
|