tesseract/.clang-format
Stefan Weil 83cdcd0c01 clang-format: Clean formatting rules
- Remove duplicate entry
- Try to use either "google" or default style settings
- Use default column with 80
- Order settings and add more comments

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-04-07 18:53:24 +02:00

20 lines
486 B
YAML

BasedOnStyle: Google
# Modifications for Tesseract.
# 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