--- #------------------------------------ # Configuration for clang-format v12 #------------------------------------ Language: Cpp BasedOnStyle: Chromium SortIncludes: true IncludeBlocks: Preserve IncludeCategories: - Regex: '^(<|")(.*/)?platform\.h(>|")$' Priority: 1 - Regex: '.*' Priority: 2 BinPackParameters: false BitFieldColonSpacing: Both BreakBeforeBraces: Allman BreakConstructorInitializers: BeforeComma AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: true AllowShortFunctionsOnASingleLine: None AllowShortIfStatementsOnASingleLine: false AllowAllArgumentsOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' ConstructorInitializerIndentWidth: '2' NamespaceIndentation: All IndentPPDirectives: BeforeHash PointerAlignment: Left ColumnLimit: '0' ContinuationIndentWidth: '2' UseTab: Never TabWidth: '2' IndentWidth: '2' AccessModifierOffset : '-2' IndentCaseLabels: false Cpp11BracedListStyle: 'true' AlignAfterOpenBracket: Align AlignConsecutiveDeclarations: true #------------------------------------ # Configurations not supported by clang-format v12 #------------------------------------ # BreakInheritanceList: AfterComma # EmptyLineBeforeAccessModifier: Always # EmptyLineAfterAccessModifier: Always # ReferenceAlignment: Left ...