Add SpaceAfterTemplateKeyword and BreakTemplateDeclarations

Each seem to be conventions in our codebase that differ from LLVM.
This commit is contained in:
Johannes Schmidt 2025-07-25 14:06:01 +02:00 committed by GitHub
parent 2b84beffc9
commit f00f13626c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@ BasedOnStyle: LLVM
AccessModifierOffset: -4 AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign AlignAfterOpenBracket: DontAlign
BreakBeforeBraces: Mozilla BreakBeforeBraces: Mozilla
BreakTemplateDeclarations: Yes
ColumnLimit: 100 ColumnLimit: 100
IncludeCategories: IncludeCategories:
- Regex: ^"(base|icinga|remote|test)/ - Regex: ^"(base|icinga|remote|test)/
@ -21,5 +22,6 @@ PenaltyBreakBeforeFirstCallParameter: 50
PenaltyBreakOpenParenthesis: 50 PenaltyBreakOpenParenthesis: 50
PointerAlignment: Left PointerAlignment: Left
ReferenceAlignment: Left ReferenceAlignment: Left
SpaceAfterTemplateKeyword: false
TabWidth: 4 TabWidth: 4
UseTab: Always UseTab: Always