mirror of
https://github.com/libAthena/athena.git
synced 2025-06-05 22:23:35 +00:00
Branch tweak
This commit is contained in:
parent
8221d6e25a
commit
7f5abb6849
@ -144,11 +144,7 @@ class ATDNAEmitVisitor : public clang::RecursiveASTVisitor<ATDNAEmitVisitor>
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else if (bType->isUnsignedInteger())
|
||||
{
|
||||
return width / 8;
|
||||
}
|
||||
else if (bType->isSignedInteger())
|
||||
else if (bType->isUnsignedInteger() || bType->isSignedInteger())
|
||||
{
|
||||
return width / 8;
|
||||
}
|
||||
@ -160,15 +156,7 @@ class ATDNAEmitVisitor : public clang::RecursiveASTVisitor<ATDNAEmitVisitor>
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else if (bType->isUnsignedInteger())
|
||||
{
|
||||
return width / 8;
|
||||
}
|
||||
else if (bType->isSignedInteger())
|
||||
{
|
||||
return width / 8;
|
||||
}
|
||||
else if (bType->isFloatingPoint())
|
||||
else if (bType->isUnsignedInteger() || bType->isSignedInteger() || bType->isFloatingPoint())
|
||||
{
|
||||
return width / 8;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user