Add clang-format config to pack constructor initializers (#608)

The setting will set each initializer in a new line if all of them don't fit in one line
This commit is contained in:
uniboi 2023-12-07 21:17:50 +01:00 committed by GitHub
parent ad1b6ae61b
commit 2a30a0d58e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -34,3 +34,5 @@ IndentExternBlock: Indent
PointerAlignment: Left
SortIncludes: false
NamespaceIndentation: All
PackConstructorInitializers: NextLine
BreakConstructorInitializersBeforeComma: true

View File

@ -46,5 +46,5 @@ jobs:
source: 'NorthstarDLL NorthstarLauncher'
exclude: 'NorthstarDLL/include loader_launcher_proxy loader_wsock32_proxy'
extensions: 'h,cpp'
clangFormatVersion: 13
clangFormatVersion: 16
style: file