Branch tweak

This commit is contained in:
Jack Andersen 2015-10-17 18:15:42 -10:00
parent 8221d6e25a
commit 7f5abb6849
1 changed files with 2 additions and 14 deletions

View File

@ -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;
}