mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 06:53:36 +08:00
[clang-format] Update config.
This commit is contained in:
parent
0e9deb68c9
commit
afa476bc23
@ -1,5 +1,4 @@
|
||||
---
|
||||
BasedOnStyle: Google
|
||||
BasedOnStyle: Google
|
||||
# Only merge empty functions.
|
||||
AllowShortFunctionsOnASingleLine: Empty
|
||||
# Do not allow short if statements.
|
||||
@ -7,3 +6,16 @@ AllowShortIfStatementsOnASingleLine: false
|
||||
# Enforce always the same pointer alignment.
|
||||
DerivePointerAlignment: false
|
||||
IndentPPDirectives: AfterHash
|
||||
|
||||
PointerAlignment: Right
|
||||
IncludeBlocks: Preserve
|
||||
FixNamespaceComments: true
|
||||
ColumnLimit: 100
|
||||
IndentWidth: 2
|
||||
#IndentAccessModifiers: false # not accepted atm
|
||||
AccessModifierOffset: -2 # set to minus IndentWidth (-IndentWidth)
|
||||
SpacesBeforeTrailingComments: 1
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
BreakConstructorInitializers: BeforeComma
|
||||
#ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||
|
Loading…
Reference in New Issue
Block a user