| 1 |
--- |
| 2 |
Language: Cpp |
| 3 |
# BasedOnStyle: Mozilla |
| 4 |
AllowShortFunctionsOnASingleLine: false |
| 5 |
AlwaysBreakAfterDefinitionReturnType: true |
| 6 |
AllowShortIfStatementsOnASingleLine: false |
| 7 |
AllowShortLoopsOnASingleLine: false |
| 8 |
DerivePointerAlignment: false |
| 9 |
IndentWidth: 2 |
| 10 |
SpacesBeforeTrailingComments: 2 |
| 11 |
ColumnLimit: 80 |
| 12 |
BreakBeforeBraces: GNU |
| 13 |
AllowAllParametersOfDeclarationOnNextLine: true |
| 14 |
AllowShortIfStatementsOnASingleLine: false |
| 15 |
AllowShortLoopsOnASingleLine: false |
| 16 |
BinPackParameters: false |
| 17 |
BinPackArguments: true # false for parameters in function *calls* each on a new line |
| 18 |
IndentWrappedFunctionNames: false |
| 19 |
SpaceBeforeParens: Always |
| 20 |
# AlignConsecutiveAssignments: true |
| 21 |
AlignConsecutiveDeclarations: true |
| 22 |
|
| 23 |
PointerAlignment: Right |
| 24 |
# Note: PointerAlignment: Right is not implemented, you need to fix the asterisks yourself |
| 25 |
# https://stackoverflow.com/questions/32682426/clang-format-align-function-parameter-names#comment83837294_48407310 |
| 26 |
# https://stackoverflow.com/a/40312667 |
| 27 |
... |
| 28 |
|