Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -25,11 +25,8 @@ uint16_t SizeOfType(glConst type)
bool BindingDecl::operator==(BindingDecl const & other) const
{
return m_attributeName == other.m_attributeName &&
m_componentCount == other.m_componentCount &&
m_componentType == other.m_componentType &&
m_stride == other.m_stride &&
m_offset == other.m_offset;
return m_attributeName == other.m_attributeName && m_componentCount == other.m_componentCount &&
m_componentType == other.m_componentType && m_stride == other.m_stride && m_offset == other.m_offset;
}
bool BindingDecl::operator!=(BindingDecl const & other) const
@@ -50,12 +47,9 @@ bool BindingDecl::operator<(BindingDecl const & other) const
return m_offset < other.m_offset;
}
BindingInfo::BindingInfo()
: m_info(0)
{}
BindingInfo::BindingInfo() : m_info(0) {}
BindingInfo::BindingInfo(uint8_t count, uint8_t id)
: m_info((static_cast<uint16_t>(count) << 8) | id)
BindingInfo::BindingInfo(uint8_t count, uint8_t id) : m_info((static_cast<uint16_t>(count) << 8) | id)
{
CHECK_LESS_OR_EQUAL(count, kMaxBindingDecl, ());
}