25 lines
637 B
YAML
25 lines
637 B
YAML
# PDF Engine C++ formatting. Applied to engine/ and bindings/.
|
|
---
|
|
Language: Cpp
|
|
BasedOnStyle: LLVM
|
|
Standard: c++20
|
|
ColumnLimit: 100
|
|
IndentWidth: 4
|
|
TabWidth: 4
|
|
UseTab: Never
|
|
AccessModifierOffset: -4
|
|
NamespaceIndentation: None
|
|
PointerAlignment: Left
|
|
ReferenceAlignment: Left
|
|
AlignAfterOpenBracket: Align
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortLoopsOnASingleLine: false
|
|
BreakBeforeBraces: Attach
|
|
FixNamespaceComments: true
|
|
IncludeBlocks: Regroup
|
|
SortIncludes: CaseInsensitive
|
|
SeparateDefinitionBlocks: Always
|
|
SpaceAfterCStyleCast: true
|
|
EmptyLineBeforeAccessModifier: LogicalBlock
|