Fix handling of structs by clang format

Our coding style expects classes to have opening braces on a new line.
Structs and classes are the same.

Before the patch:
 struct Foo {
    ...
 };

After the patch:
 struct Foo
 {
    ...
 };

Change-Id: Ifab8a402d03ef2fd75b939f39274887feedc7b1b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
Jędrzej Nowacki
2018-11-29 09:13:11 +01:00
committed by Frederik Gladhorn
parent a55b732053
commit e8e76d256b

View File

@@ -41,7 +41,7 @@ BraceWrapping:
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterStruct: true
AfterUnion: false
BeforeCatch: false
BeforeElse: false