46 lines
960 B
Plaintext
46 lines
960 B
Plaintext
---
|
|
Language: Cpp
|
|
BasedOnStyle: Google
|
|
IndentWidth: 2
|
|
ColumnLimit: 120
|
|
|
|
# Braces
|
|
BreakBeforeBraces: Attach
|
|
AllowShortFunctionsOnASingleLine: All
|
|
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
|
|
AllowShortLoopsOnASingleLine: true
|
|
AllowShortBlocksOnASingleLine: Always
|
|
AllowShortEnumsOnASingleLine: true
|
|
|
|
# Pointer alignment
|
|
PointerAlignment: Left
|
|
|
|
# Breaking
|
|
BinPackArguments: true
|
|
BinPackParameters: BinPackAll
|
|
BreakBeforeBinaryOperators: None
|
|
AllowAllArgumentsOnNextLine: true
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
|
# Spacing
|
|
SpaceInEmptyBlock: false
|
|
SpaceBeforeParens: Never
|
|
SpacesInParentheses: false
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
# Indentation
|
|
IndentCaseLabels: true
|
|
CompactNamespaces: true
|
|
|
|
# Empty lines
|
|
MaxEmptyLinesToKeep: 1
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
# Alignment
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignConsecutiveMacros: false
|
|
AlignTrailingComments: false
|
|
AlignOperands: DontAlign
|
|
...
|