tesseract/.clang-format
Stefan Weil e262d71a56 Modifiy formatting rules
* Allow a single line for empty functions only.
* Don't allow if statements on a single line.

This improves readability and helps when debugging.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-04-02 06:34:45 +02:00

10 lines
280 B
YAML

---
BasedOnStyle: Google
# Only merge empty functions.
AllowShortFunctionsOnASingleLine: Empty
# Do not allow short if statements.
AllowShortIfStatementsOnASingleLine: false
# Enforce always the same pointer alignment.
DerivePointerAlignment: false
IndentPPDirectives: AfterHash