tesseract/.clang-format
2022-12-10 20:33:35 +01:00

20 lines
506 B
YAML

BasedOnStyle: Google
# Modifications for Tesseract.
ColumnLimit: 100
# Only merge empty functions.
AllowShortFunctionsOnASingleLine: Empty
# Do not allow short if statements.
AllowShortIfStatementsOnASingleLine: false
IndentPPDirectives: AfterHash
# Default style for some settings.
AccessModifierOffset: -2
AllowShortLoopsOnASingleLine: false
# Enforce always the same pointer alignment.
DerivePointerAlignment: false
IncludeBlocks: Preserve
PointerAlignment: Right
SpacesBeforeTrailingComments: 1