clang-format: Replace deprecated options with new ones

This commit is contained in:
Eduardo Almeida
2025-09-27 21:50:55 +01:00
parent c048975b1d
commit f7ae602c5f

View File

@@ -4,12 +4,11 @@ BasedOnStyle: Microsoft
AllowAllArgumentsOnNextLine: false AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false
AlwaysBreakAfterReturnType: TopLevelDefinitions
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false BinPackArguments: false
BinPackParameters: false BinPackParameters: false
BreakAfterReturnType: TopLevelDefinitions
BreakTemplateDeclarations: Yes
ColumnLimit: 100 ColumnLimit: 100
DeriveLineEnding: false
IncludeBlocks: Regroup IncludeBlocks: Regroup
IncludeCategories: IncludeCategories:
- Regex: '^(<|")ns3/' - Regex: '^(<|")ns3/'
@@ -22,7 +21,9 @@ IncludeCategories:
Priority: 1 Priority: 1
SortPriority: 0 SortPriority: 0
InsertBraces: true InsertBraces: true
KeepEmptyLinesAtTheStartOfBlocks: false KeepEmptyLines:
AtStartOfBlock: false
LineEnding: LF
PackConstructorInitializers: Never PackConstructorInitializers: Never
PointerAlignment: Left PointerAlignment: Left
QualifierAlignment: Left QualifierAlignment: Left