forked from qt-creator/qt-creator
Make dumpers output size information.
This commit is contained in:
@@ -181,17 +181,28 @@ public:
|
||||
|
||||
QString toString(bool debug = false) const;
|
||||
|
||||
private:
|
||||
void addSize(const QString &name, int size);
|
||||
|
||||
private:
|
||||
typedef QMap<QString, Type> NameTypeMap;
|
||||
typedef QMap<QString, int> SizeCache;
|
||||
|
||||
// Look up a simple (namespace) type
|
||||
static Type specialType(QString s);
|
||||
QString evaluationSizeofTypeExpression(const QString &typeName, Debugger d) const;
|
||||
|
||||
const QString m_stdAllocatorPrefix;
|
||||
|
||||
NameTypeMap m_nameTypeMap;
|
||||
SizeCache m_sizeCache;
|
||||
int m_intSize;
|
||||
int m_pointerSize;
|
||||
int m_stdAllocatorSize;
|
||||
int m_qtVersion;
|
||||
QString m_qtNamespace;
|
||||
};
|
||||
|
||||
QDebug operator<<(QDebug in, const QtDumperHelper::TypeData &d);
|
||||
} // namespace Internal
|
||||
} // namespace Debugger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user