Skip to content
Snippets Groups Projects
Commit d5ff2bb5 authored by hjk's avatar hjk
Browse files

debugger: make std::size_t and std::ptrdiff_t also 'well known integer types'

parent b4ce60b1
No related branches found
No related tags found
No related merge requests found
......@@ -547,7 +547,11 @@ bool isIntType(const QString &type)
<< QLatin1String("long long") << QLatin1String("unsigned long long")
<< QLatin1String("qint16") << QLatin1String("quint16")
<< QLatin1String("qint32") << QLatin1String("quint32")
<< QLatin1String("qint64") << QLatin1String("quint64");
<< QLatin1String("qint64") << QLatin1String("quint64")
<< QLatin1String("size_t")
<< QLatin1String("ptrdiff_t")
<< QLatin1String("std::size_t")
<< QLatin1String("std::ptrdiff_t");
return type.endsWith(QLatin1String(" int"))
|| type.endsWith(QLatin1String(" int64"))
|| types.contains(type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment