| 1463 | } |
| 1464 | |
| 1465 | static bool isNumeric(const IntegralType::Ptr& type) |
| 1466 | { |
| 1467 | return type->dataType() == IntegralType::TypeInt |
| 1468 | || type->dataType() == IntegralType::TypeIntegral |
| 1469 | || type->dataType() == IntegralType::TypeHalf |
| 1470 | || type->dataType() == IntegralType::TypeFloat |
| 1471 | || type->dataType() == IntegralType::TypeDouble; |
| 1472 | } |
| 1473 | |
| 1474 | bool DeclarationBuilder::areTypesEqual(const AbstractType::Ptr& a, const AbstractType::Ptr& b) |
| 1475 | { |