I would like clang-format to always break the line before the colon in the inheritance list. However, the BreakInheritanceList: BeforeColon/BeforeComma option works as expected provided I have multiple inheritance. Do you know if the expected result can be achieved even in the case of a single inheritance?
The expected result is:
class Derived
: public Base
What I get:
class Derived: public Base
With multiple inheritance it works as expected:
class Derived
: public Base1
, Base2