icinga2/.clang-format
Johannes Schmidt e2a6330f5a
Remove PenaltyBreakAssignment again
Produced some very ugly alignment otherwise.
2025-07-30 09:12:13 +02:00

28 lines
636 B
YAML

---
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AllowShortFunctionsOnASingleLine: InlineOnly
BreakBeforeBraces: Mozilla
BreakTemplateDeclarations: Yes
ColumnLimit: 120
IncludeCategories:
- Regex: ^"(base|icinga|remote|test)/
Priority: 1
CaseSensitive: false
- Regex: ^<boost/
Priority: 2
CaseSensitive: false
- Regex: ^<
Priority: 3
CaseSensitive: false
IndentCaseLabels: true
IndentWidth: 4
PenaltyBreakBeforeFirstCallParameter: 50
PenaltyBreakOpenParenthesis: 50
PointerAlignment: Left
ReferenceAlignment: Left
SpaceAfterTemplateKeyword: false
TabWidth: 4
UseTab: Always