--- IndentWidth: 4 --- Language: Cpp # Access modifiers go to the same # level as braces, as for labels. AccessModifierOffset: -4 AlignAfterOpenBracket: Align # Use table-style alignment # for consistency AlignArrayOfStructures: Right AlignConsecutiveAssignments: None AlignConsecutiveBitFields: AcrossEmptyLinesAndComments AlignConsecutiveDeclarations: AcrossComments AlignConsecutiveMacros: AcrossComments AlignEscapedNewlines: Left AlignOperands: Align AlignTrailingComments: false AllowAllArgumentsOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: false AllowShortEnumsOnASingleLine: false AllowShortBlocksOnASingleLine: Never AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: Empty AllowShortLambdasOnASingleLine: Inline AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: Yes AttributeMacros: - __attribute__ - DSO_EXPORT BinPackArguments: true BinPackParameters: true BraceWrapping: AfterCaseLabel: false AfterClass: false AfterControlStatement: Never AfterEnum: false AfterFunction: true AfterNamespace: false AfterStruct: false AfterUnion: false AfterExternBlock: false BeforeCatch: true BeforeElse: true BeforeLambdaBody: true BeforeWhile: true IndentBraces: false SplitEmptyFunction: false SplitEmptyRecord: false SplitEmptyNamespace: false BreakBeforeBinaryOperators: None BreakBeforeConceptDeclarations: true BreakBeforeBraces: Attach BreakInheritanceList: AfterComma BreakBeforeTernaryOperators: true BreakConstructorInitializers: BeforeComma BreakStringLiterals: true # We chose a limit that fits on a # 1080p laptop monitor when doing # diffs. ColumnLimit: 100 # Allow `xgettext --add-comments` to # extract comments for translators CommentPragmas: '^ TRANSLATORS: ' QualifierAlignment: Leave CompactNamespaces: false ConstructorInitializerIndentWidth: 4 ContinuationIndentWidth: 4 Cpp11BracedListStyle: false DerivePointerAlignment: false EmptyLineAfterAccessModifier: Never EmptyLineBeforeAccessModifier: Always PackConstructorInitializers: Never FixNamespaceComments: true ForEachMacros: - TAILQ_FOREACH - SLIST_FOREACH IfMacros: [] IncludeBlocks: Regroup IncludeCategories: - Regex: '^"' Priority: 1 CaseSensitive: false - Regex: '^