i have a class:
class Bar {
public:
int left, right;
};
class Foo {
public:
Bar fake;
Bar news;
};
When I Init Foo with clang-format default config, i Got:
const Foo a{
.fake =
{
.left = 1,
.right = 3,
},
.news =
{
.left = 233,
.right = 2333,
},
};
But I want:
const Foo a{
.fake = {
.left = 1,
.right = 3,
},
.news = {
.left = 233,
.right = 2333,
},
};
I read this document, but there seems to be no corresponding content.