From f7ae602c5fb0f398f8b5cdb45a8667fd6ce8bd69 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 27 Sep 2025 21:50:55 +0100 Subject: [PATCH] clang-format: Replace deprecated options with new ones --- .clang-format | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index 450593d09..b1a0cccb9 100644 --- a/.clang-format +++ b/.clang-format @@ -4,12 +4,11 @@ BasedOnStyle: Microsoft AllowAllArgumentsOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false -AlwaysBreakAfterReturnType: TopLevelDefinitions -AlwaysBreakTemplateDeclarations: Yes BinPackArguments: false BinPackParameters: false +BreakAfterReturnType: TopLevelDefinitions +BreakTemplateDeclarations: Yes ColumnLimit: 100 -DeriveLineEnding: false IncludeBlocks: Regroup IncludeCategories: - Regex: '^(<|")ns3/' @@ -22,7 +21,9 @@ IncludeCategories: Priority: 1 SortPriority: 0 InsertBraces: true -KeepEmptyLinesAtTheStartOfBlocks: false +KeepEmptyLines: + AtStartOfBlock: false +LineEnding: LF PackConstructorInitializers: Never PointerAlignment: Left QualifierAlignment: Left