I'm looking for a Astyle option to indent C++ constructors from :
foo::foo(int param) : m_param(param)
, m_x(0)
, m_y(0)
To :
foo::foo(int param) : m_param(param)
, m_x(0)
, m_y(0)
I havn't found that in the documentation nor on google. Thanks.
There is no such option in the current release of AStyle. It handles multi-line initializer lists as continuation lines, with no special handling applied.