Skip to content
Snippets Groups Projects
Commit 730ac5e3 authored by James R.'s avatar James R.
Browse files

clang-format: constructor member initiailizer list breaks with trailing colon/commas

Compare before / after:

    A()               B() :
        : a(0)            a(0),
        , b(1)            b(1)
parent 1aa9e014
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Allman # Always break before braces, to match existing SRB2 code
BreakConstructorInitializers: BeforeComma
BreakConstructorInitializers: AfterColon
CompactNamespaces: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment