Open
Description
This code:
class A {
int GetVal1() const { return m_Val1; }
int GetVal2() const { return m_Val2; }
};
Change the .clang-format
to this:
AllowShortFunctionsOnASingleLine: InlineOnly
ColumnLimit: 0
and the result is:
class A {
int GetVal1() const { return m_Val1; }
int GetVal2() const {
return m_Val2;
}
};
If you set ColumnLimit: 120
it will reproduce the expected first result.