diff --git a/atdna/main.cpp b/atdna/main.cpp index ebac325..114f07c 100644 --- a/atdna/main.cpp +++ b/atdna/main.cpp @@ -144,11 +144,7 @@ class ATDNAEmitVisitor : public clang::RecursiveASTVisitor { 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 { 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; }