ref: 930c2ac328ecc09d630165bf5f5211e9edc165be
dir: /.clang-format/
AccessModifierOffset: -4 AlignAfterOpenBracket: Align AlignArrayOfStructures: Left AlignConsecutiveAssignments: None AlignConsecutiveBitFields: Consecutive AlignConsecutiveDeclarations: None AlignConsecutiveMacros: Consecutive AlignEscapedNewlines: Left AlignOperands: Align AlignTrailingComments: false AllowShortBlocksOnASingleLine: Empty AllowShortCaseLabelsOnASingleLine: false AllowShortEnumsOnASingleLine: true AllowShortFunctionsOnASingleLine: InlineOnly AllowShortIfStatementsOnASingleLine: Never AllowShortLambdasOnASingleLine: All AllowShortLoopsOnASingleLine: false AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: Yes AttributeMacros: - format_ - attr_ BinPackArguments: true BinPackParameters: true BitFieldColonSpacing: Both BreakBeforeBinaryOperators: NonAssignment BreakBeforeBraces: Attach BreakBeforeConceptDeclarations: true BreakBeforeTernaryOperators: true BreakConstructorInitializers: BeforeColon BreakInheritanceList: AfterComma BreakStringLiterals: true ColumnLimit: 100 CompactNamespaces: false ContinuationIndentWidth: 4 Cpp11BracedListStyle: true DeriveLineEnding: true DerivePointerAlignment: false EmptyLineBeforeAccessModifier: Leave FixNamespaceComments: false IncludeBlocks: Regroup IncludeCategories: - Regex: '^<sys/' Priority: 0 - Regex: '^<' Priority: 1 - Regex: '^"extern/' Priority: 2 - Regex: '^"(asm|link|fix|gfx)/' Priority: 3 - Regex: '^"' Priority: 2 IndentAccessModifiers: false IndentCaseBlocks: false IndentCaseLabels: false IndentExternBlock: NoIndent IndentGotoLabels: false IndentPPDirectives: BeforeHash IndentRequires: true IndentWidth: 4 IndentWrappedFunctionNames: true # Only support for Javascript as of clang-format 13... # InsertTrailingCommas: true KeepEmptyLinesAtTheStartOfBlocks: false LambdaBodyIndentation: Signature Language: Cpp MaxEmptyLinesToKeep: 1 NamespaceIndentation: None PPIndentWidth: -1 PointerAlignment: Right ReflowComments: true SortIncludes: CaseSensitive SortUsingDeclarations: true SpaceAfterCStyleCast: false SpaceAfterLogicalNot: false SpaceAfterTemplateKeyword: false SpaceAroundPointerQualifiers: Both SpaceBeforeAssignmentOperators: true SpaceBeforeCaseColon: false SpaceBeforeCpp11BracedList: false SpaceBeforeCtorInitializerColon: true SpaceBeforeInheritanceColon: true SpaceBeforeParens: ControlStatements SpaceBeforeRangeBasedForLoopColon: true SpaceBeforeSquareBrackets: false SpaceInEmptyBlock: false SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 1 SpacesInAngles: false SpacesInCStyleCastParentheses: false SpacesInConditionalStatement: false SpacesInContainerLiterals: false SpacesInParentheses: false SpacesInSquareBrackets: false Standard: c++17 TabWidth: 4 UseCRLF: false UseTab: ForIndentation