| 1679 | } |
| 1680 | |
| 1681 | static bool |
| 1682 | isNegativeNumber(char *szLocation, struct CTypeDescriptor *pType, unsigned long ulNumber) |
| 1683 | { |
| 1684 | |
| 1685 | ASSERT(szLocation); |
| 1686 | ASSERT(pType); |
| 1687 | ASSERT(pType->mTypeKind == KIND_INTEGER); |
| 1688 | |
| 1689 | if (!ISSET(pType->mTypeInfo, NUMBER_SIGNED_BIT)) |
| 1690 | return false; |
| 1691 | |
| 1692 | return llliGetNumber(szLocation, pType, ulNumber) < 0; |
| 1693 | } |
| 1694 | |
| 1695 | static bool |
| 1696 | isShiftExponentTooLarge(char *szLocation, struct CTypeDescriptor *pType, unsigned long ulNumber, size_t zWidth) |
no test coverage detected