mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 14:13:45 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -15,8 +15,7 @@ class TokenRange final
|
||||
{
|
||||
public:
|
||||
TokenRange() = default;
|
||||
TokenRange(size_t begin, size_t end)
|
||||
: m_begin(static_cast<uint8_t>(begin)), m_end(static_cast<uint8_t>(end))
|
||||
TokenRange(size_t begin, size_t end) : m_begin(static_cast<uint8_t>(begin)), m_end(static_cast<uint8_t>(end))
|
||||
|
||||
{
|
||||
ASSERT_LESS_OR_EQUAL(begin, kMaxNumTokens, ());
|
||||
@@ -54,10 +53,7 @@ public:
|
||||
return m_end < rhs.m_end;
|
||||
}
|
||||
|
||||
inline bool operator==(TokenRange const & rhs) const
|
||||
{
|
||||
return m_begin == rhs.m_begin && m_end == rhs.m_end;
|
||||
}
|
||||
inline bool operator==(TokenRange const & rhs) const { return m_begin == rhs.m_begin && m_end == rhs.m_end; }
|
||||
|
||||
inline size_t Begin() const { return m_begin; }
|
||||
inline size_t End() const { return m_end; }
|
||||
|
||||
Reference in New Issue
Block a user