2021-03-13 03:33:22 +08:00
|
|
|
BasedOnStyle: Google
|
2019-03-31 22:06:23 +08:00
|
|
|
# Only merge empty functions.
|
|
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
|
|
# Do not allow short if statements.
|
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
2018-05-26 16:09:57 +08:00
|
|
|
# Enforce always the same pointer alignment.
|
2018-05-24 23:35:54 +08:00
|
|
|
DerivePointerAlignment: false
|
2018-06-23 22:04:44 +08:00
|
|
|
IndentPPDirectives: AfterHash
|
2021-03-13 03:33:22 +08:00
|
|
|
|
|
|
|
PointerAlignment: Right
|
|
|
|
IncludeBlocks: Preserve
|
|
|
|
FixNamespaceComments: true
|
|
|
|
ColumnLimit: 100
|
|
|
|
IndentWidth: 2
|
|
|
|
#IndentAccessModifiers: false # not accepted atm
|
|
|
|
AccessModifierOffset: -2 # set to minus IndentWidth (-IndentWidth)
|
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
BreakConstructorInitializers: BeforeComma
|
|
|
|
#ConstructorInitializerAllOnOneLineOrOnePerLine: false
|