Core: fix up clang formatting
This commit is contained in:
parent
905254615d
commit
24d5a6bd65
|
@ -823,27 +823,27 @@ asmjit::Error CX86Ops::_log(const char * data, size_t size) noexcept
|
|||
if (m_NumberSymbols.size() > 0 && Pos != std::string::npos)
|
||||
{
|
||||
uint32_t Value = 0;
|
||||
if (AsmjitLog[Pos] == '0' && (AsmjitLog[Pos+1] == 'x' || AsmjitLog[Pos+1] == 'X'))
|
||||
if (AsmjitLog[Pos] == '0' && (AsmjitLog[Pos + 1] == 'x' || AsmjitLog[Pos + 1] == 'X'))
|
||||
{
|
||||
Pos += 2;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 8; i++)
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
char c = AsmjitLog[Pos + i];
|
||||
if (c >= '0' && c <= '9')
|
||||
if (c >= '0' && c <= '9')
|
||||
{
|
||||
Value = (Value << 4) | (c - '0');
|
||||
}
|
||||
else if (c >= 'a' && c <= 'f')
|
||||
else if (c >= 'a' && c <= 'f')
|
||||
{
|
||||
Value = (Value << 4) | (c - 'a' + 10);
|
||||
}
|
||||
else if (c >= 'A' && c <= 'F')
|
||||
else if (c >= 'A' && c <= 'F')
|
||||
{
|
||||
Value = (Value << 4) | (c - 'A' + 10);
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue