style: clang-format updated to clang 17

This commit is contained in:
Mateusz Pusz
2023-10-25 14:38:26 +02:00
parent 26c79a7a86
commit 1f14184ac3
4 changed files with 29 additions and 21 deletions

View File

@ -1,6 +1,3 @@
########################################################################################
# NOTE: At least clang-format-16 is needed to format the code of this project correctly
########################################################################################
---
BasedOnStyle: Google
---
@ -32,6 +29,11 @@ AccessModifierOffset: -2
# AcrossComments: false
# AlignCompound: false
# PadOperators: false
# AlignConsecutiveShortCaseStatements:
# Enabled: false
# AcrossEmptyLines: false
# AcrossComments: false
# AlignCaseColons: false
# AlignEscapedNewlines: Left
# AlignOperands: Align
# AlignTrailingComments:
@ -140,6 +142,7 @@ IncludeCategories:
# JavaScriptQuotes: Leave
# JavaScriptWrapImports: true
# KeepEmptyLinesAtTheStartOfBlocks: false
# KeepEmptyLinesAtEOF: false
# LambdaBodyIndentation: Signature
# LineEnding: DeriveLF
# MacroBlockBegin: ''
@ -198,6 +201,7 @@ QualifierAlignment: Left
# ReferenceAlignment: Pointer
# ReflowComments: true
# RemoveBracesLLVM: false
# RemoveParentheses: Leave
# RemoveSemicolon: false
# RequiresClausePosition: OwnLine
# RequiresExpressionIndentation: OuterScope
@ -215,6 +219,7 @@ SpaceAfterTemplateKeyword: false
# SpaceBeforeCpp11BracedList: false
# SpaceBeforeCtorInitializerColon: true
# SpaceBeforeInheritanceColon: true
# SpaceBeforeJsonColon: false
# SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
# AfterControlStatements: true
@ -229,16 +234,18 @@ SpaceBeforeParensOptions:
# SpaceBeforeRangeBasedForLoopColon: true
# SpaceBeforeSquareBrackets: false
# SpaceInEmptyBlock: false
# SpaceInEmptyParentheses: false
# SpacesBeforeTrailingComments: 2
# SpacesInAngles: Never
# SpacesInConditionalStatement: false
# SpacesInContainerLiterals: true
# SpacesInCStyleCastParentheses: false
# SpacesInLineCommentPrefix:
# Minimum: 1
# Maximum: -1
# SpacesInParentheses: false
# SpacesInParens: Never
# SpacesInParensOptions:
# InCStyleCasts: false
# InConditionalStatements: false
# InEmptyParentheses: false
# Other: false
# SpacesInSquareBrackets: false
# Standard: Auto
# StatementAttributeLikeMacros:
@ -248,6 +255,7 @@ SpaceBeforeParensOptions:
# - QT_REQUIRE_VERSION
# TabWidth: 8
# UseTab: Never
# VerilogBreakBetweenInstancePorts: true
# WhitespaceSensitiveMacros:
# - BOOST_PP_STRINGIZE
# - CF_SWIFT_NAME