tesseract/.clang-format

20 lines
486 B
Plaintext
Raw Permalink Normal View History

2021-03-13 03:33:22 +08:00
BasedOnStyle: Google
# Modifications for Tesseract.
# Only merge empty functions.
AllowShortFunctionsOnASingleLine: Empty
# Do not allow short if statements.
AllowShortIfStatementsOnASingleLine: false
IndentPPDirectives: AfterHash
2021-03-13 03:33:22 +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
PointerAlignment: Right
2021-03-13 03:33:22 +08:00
SpacesBeforeTrailingComments: 1