MCPcopy Create free account
hub / github.com/KDE/kdevelop / isNumeric

Function isNumeric

plugins/qmljs/duchain/declarationbuilder.cpp:1465–1472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1463}
1464
1465static 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
1474bool DeclarationBuilder::areTypesEqual(const AbstractType::Ptr& a, const AbstractType::Ptr& b)
1475{

Callers 1

areTypesEqualMethod · 0.70

Calls 1

dataTypeMethod · 0.80

Tested by

no test coverage detected