mirror of
https://github.com/libAthena/athena.git
synced 2025-12-08 13:15:05 +00:00
Branch tweak
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user