2021-03-13 03:33:22 +08:00
|
|
|
BasedOnStyle: Google
|
2021-04-07 23:59:43 +08:00
|
|
|
|
|
|
|
# Modifications for Tesseract.
|
|
|
|
|
2019-03-31 22:06:23 +08:00
|
|
|
# Only merge empty functions.
|
|
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
|
|
# Do not allow short if statements.
|
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
2018-06-23 22:04:44 +08:00
|
|
|
IndentPPDirectives: AfterHash
|
2021-03-13 03:33:22 +08:00
|
|
|
|
2021-04-07 23:59:43 +08:00
|
|
|
# Default style for some settings.
|
|
|
|
|
|
|
|
AccessModifierOffset: -2
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
# Enforce always the same pointer alignment.
|
|
|
|
DerivePointerAlignment: false
|
2021-03-13 03:33:22 +08:00
|
|
|
IncludeBlocks: Preserve
|
2021-04-07 23:59:43 +08:00
|
|
|
PointerAlignment: Right
|
2021-03-13 03:33:22 +08:00
|
|
|
SpacesBeforeTrailingComments: 1
|