| 1454 | } |
| 1455 | |
| 1456 | static bool enumContainsEnumerator(const AbstractType::Ptr& a, const AbstractType::Ptr& b) |
| 1457 | { |
| 1458 | Q_ASSERT(a->whichType() == AbstractType::TypeEnumeration); |
| 1459 | auto aEnum = a.staticCast<EnumerationType>(); |
| 1460 | Q_ASSERT(b->whichType() == AbstractType::TypeEnumerator); |
| 1461 | auto bEnumerator = b.staticCast<EnumeratorType>(); |
| 1462 | return bEnumerator->qualifiedIdentifier().beginsWith(aEnum->qualifiedIdentifier()); |
| 1463 | } |
| 1464 | |
| 1465 | static bool isNumeric(const IntegralType::Ptr& type) |
| 1466 | { |
no test coverage detected