| 1 |
--- |
| 2 |
AccessModifierOffset: 0 |
| 3 |
AlignAfterOpenBracket: true |
| 4 |
AlignConsecutiveAssignments: false |
| 5 |
AlignConsecutiveDeclarations: false |
| 6 |
AlignEscapedNewlinesLeft: false |
| 7 |
AlignOperands: true |
| 8 |
AlignTrailingComments: true |
| 9 |
AllowAllParametersOfDeclarationOnNextLine: true |
| 10 |
AllowShortBlocksOnASingleLine: false |
| 11 |
AllowShortCaseLabelsOnASingleLine: false |
| 12 |
AllowShortFunctionsOnASingleLine: None |
| 13 |
AllowShortIfStatementsOnASingleLine: false |
| 14 |
AllowShortLoopsOnASingleLine: false |
| 15 |
# AlwaysBreakAfterDefinitionReturnType: None |
| 16 |
AlwaysBreakAfterReturnType: None |
| 17 |
AlwaysBreakBeforeMultilineStrings: true |
| 18 |
AlwaysBreakTemplateDeclarations: false |
| 19 |
BinPackArguments: false |
| 20 |
BinPackParameters: true |
| 21 |
BreakBeforeBinaryOperators: None |
| 22 |
BreakBeforeBraces: Linux |
| 23 |
BreakBeforeTernaryOperators: true |
| 24 |
BreakConstructorInitializersBeforeComma: false |
| 25 |
# Too new for travis clang-format version |
| 26 |
# BreakStringLiterals: false |
| 27 |
ColumnLimit: 100 |
| 28 |
CommentPragmas: '\*\<' |
| 29 |
ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 30 |
ConstructorInitializerIndentWidth: 4 |
| 31 |
ContinuationIndentWidth: 4 |
| 32 |
Cpp11BracedListStyle: false |
| 33 |
DerivePointerAlignment: false |
| 34 |
DisableFormat: false |
| 35 |
ExperimentalAutoDetectBinPacking: false |
| 36 |
ForEachMacros: [ ] |
| 37 |
SortIncludes: true |
| 38 |
# IncludeBlocksStyle changed to IncludeBlocks, between xenial and disco, so we can't use it for consistency |
| 39 |
# IncludeBlocks: Regroup |
| 40 |
IncludeCategories: |
| 41 |
- Regex: '^<linux\/' |
| 42 |
Priority: 0 |
| 43 |
- Regex: '^<' |
| 44 |
Priority: 1 |
| 45 |
- Regex: '^"gamemode.h"' |
| 46 |
Priority: 2 |
| 47 |
- Regex: '^"' |
| 48 |
Priority: 3 |
| 49 |
# IncludeIsMainRegex: (project doesn't use a main includes that can add other includes via regex) |
| 50 |
IndentCaseLabels: false |
| 51 |
IndentWidth: 4 |
| 52 |
IndentWrappedFunctionNames: false |
| 53 |
KeepEmptyLinesAtTheStartOfBlocks: false |
| 54 |
Language: Cpp |
| 55 |
MacroBlockBegin: '' |
| 56 |
MacroBlockEnd: '' |
| 57 |
MaxEmptyLinesToKeep: 1 |
| 58 |
NamespaceIndentation: None |
| 59 |
PenaltyBreakBeforeFirstCallParameter: 400 |
| 60 |
PenaltyBreakComment: 0 |
| 61 |
PenaltyBreakString: 500 |
| 62 |
PenaltyExcessCharacter: 10000 |
| 63 |
PenaltyReturnTypeOnItsOwnLine: 600 |
| 64 |
PointerAlignment: Right |
| 65 |
ReflowComments: true |
| 66 |
SpaceAfterCStyleCast: false |
| 67 |
SpaceBeforeAssignmentOperators: true |
| 68 |
SpaceBeforeParens: ControlStatements |
| 69 |
SpaceInEmptyParentheses: false |
| 70 |
SpacesBeforeTrailingComments: 1 |
| 71 |
SpacesInAngles: false |
| 72 |
SpacesInCStyleCastParentheses: false |
| 73 |
SpacesInParentheses: false |
| 74 |
SpacesInSquareBrackets: false |
| 75 |
Standard: Cpp11 |
| 76 |
TabWidth: 4 |
| 77 |
UseTab: ForIndentation |
| 78 |
... |