refactor: clang format line length

This commit is contained in:
Lars Toenning
2024-11-16 19:27:30 +01:00
parent c7779e1461
commit 1a0b2a8c5f
1352 changed files with 25994 additions and 26603 deletions

View File

@@ -11,12 +11,10 @@
namespace swift::misc
{
CPropertyIndexRef::CPropertyIndexRef(int index) : m_begin(nullptr),
m_sizeOrIndex(index)
{}
CPropertyIndexRef::CPropertyIndexRef(int index) : m_begin(nullptr), m_sizeOrIndex(index) {}
CPropertyIndexRef::CPropertyIndexRef(const QVector<int> &indexes) : m_begin(indexes.data()),
m_sizeOrIndex(indexes.size())
CPropertyIndexRef::CPropertyIndexRef(const QVector<int> &indexes)
: m_begin(indexes.data()), m_sizeOrIndex(indexes.size())
{}
CPropertyIndexRef CPropertyIndexRef::copyFrontRemoved() const
@@ -29,20 +27,11 @@ namespace swift::misc
return copy;
}
bool CPropertyIndexRef::isNested() const
{
return m_begin && m_sizeOrIndex > 1;
}
bool CPropertyIndexRef::isNested() const { return m_begin && m_sizeOrIndex > 1; }
bool CPropertyIndexRef::isMyself() const
{
return this->isEmpty();
}
bool CPropertyIndexRef::isMyself() const { return this->isEmpty(); }
bool CPropertyIndexRef::isEmpty() const
{
return m_begin ? m_sizeOrIndex < 1 : m_sizeOrIndex < 0;
}
bool CPropertyIndexRef::isEmpty() const { return m_begin ? m_sizeOrIndex < 1 : m_sizeOrIndex < 0; }
int CPropertyIndexRef::frontToInt() const
{