indents(cpp): indent at field_initializer_list

This commit is contained in:
Stephan Seitz 2022-01-22 14:07:01 +01:00
parent 7654bbc04b
commit 62982378b8
3 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,17 @@
class Foo {
Foo(int a, int b, int c, int d)
: m_a(a)
, m_b(b)
, m_c(c)
, m_d(d) {}
Foo(int a, int b, int c) :
m_a(a),
m_b(b),
m_c(c)
{}
int m_a, m_b, m_c, m_d;
};