OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2fe84b
)
debugger: recognize more types as integral
author
hjk
<qtc-committer@nokia.com>
Wed, 23 Mar 2011 12:06:16 +0000
(13:06 +0100)
committer
hjk
<qtc-committer@nokia.com>
Thu, 24 Mar 2011 13:43:42 +0000
(14:43 +0100)
src/plugins/debugger/watchdata.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/debugger/watchdata.cpp
b/src/plugins/debugger/watchdata.cpp
index
795e62b
..
817d0fc
100644
(file)
--- a/
src/plugins/debugger/watchdata.cpp
+++ b/
src/plugins/debugger/watchdata.cpp
@@
-94,13
+94,14
@@
bool isIntType(const QByteArray &type)
return type == "int" || type == "int64";
case 'l':
return type == "long"
- || type
== "long long"
;
+ || type
.startsWith("long ")
;
case 'p':
return type == "ptrdiff_t";
case 'q':
return type == "qint16" || type == "quint16"
|| type == "qint32" || type == "quint32"
- || type == "qint64" || type == "quint64";
+ || type == "qint64" || type == "quint64"
+ || type == "qlonglong" || type == "qulonglong";
case 's':
return type == "short"
|| type == "signed"