mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-09 00:16:55 +08:00
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:
committed by
Frederik Gladhorn
parent
a55b732053
commit
e8e76d256b
@@ -41,7 +41,7 @@ BraceWrapping:
|
||||
AfterFunction: true
|
||||
AfterNamespace: false
|
||||
AfterObjCDeclaration: false
|
||||
AfterStruct: false
|
||||
AfterStruct: true
|
||||
AfterUnion: false
|
||||
BeforeCatch: false
|
||||
BeforeElse: false
|
||||
|
||||
Reference in New Issue
Block a user