debugger: recognize more types as integral

This commit is contained in:
hjk
2011-03-23 13:06:16 +01:00
parent f2fe84b7c4
commit 2e4b44724d

View File

@@ -94,13 +94,14 @@ bool isIntType(const QByteArray &type)
return type == "int" || type == "int64"; return type == "int" || type == "int64";
case 'l': case 'l':
return type == "long" return type == "long"
|| type == "long long"; || type.startsWith("long ");
case 'p': case 'p':
return type == "ptrdiff_t"; return type == "ptrdiff_t";
case 'q': case 'q':
return type == "qint16" || type == "quint16" return type == "qint16" || type == "quint16"
|| type == "qint32" || type == "quint32" || type == "qint32" || type == "quint32"
|| type == "qint64" || type == "quint64"; || type == "qint64" || type == "quint64"
|| type == "qlonglong" || type == "qulonglong";
case 's': case 's':
return type == "short" return type == "short"
|| type == "signed" || type == "signed"