C/Cpp: clang-format specify ctor init list formatting

This commit is contained in:
Jannik Beyerstedt 2021-11-12 13:32:35 +01:00
parent fd94cf1b57
commit 04d960af0b

View file

@ -20,6 +20,10 @@ AlignTrailingComments: true
IndentWrappedFunctionNames: false IndentWrappedFunctionNames: false
AllowShortFunctionsOnASingleLine: Inline AllowShortFunctionsOnASingleLine: Inline
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AllowAllConstructorInitializersOnNextLine: false
SpacesBeforeTrailingComments: 2 SpacesBeforeTrailingComments: 2
FixNamespaceComments: true FixNamespaceComments: true
ReflowComments: false ReflowComments: false