forked from qt-creator/qt-creator
Debugger[New CDB]: Fix QMap.
Determine field offset of map node using GetFieldOffset. Qualify with full module.
This commit is contained in:
@@ -267,6 +267,14 @@ unsigned SymbolGroupValue::intSize()
|
||||
return is;
|
||||
}
|
||||
|
||||
unsigned SymbolGroupValue::fieldOffset(const char *type, const char *field)
|
||||
{
|
||||
ULONG rc = 0;
|
||||
if (GetFieldOffset(type, field, &rc))
|
||||
return 0;
|
||||
return rc;
|
||||
}
|
||||
|
||||
std::string SymbolGroupValue::stripPointerType(const std::string &t)
|
||||
{
|
||||
return isPointerType(t) ? t.substr(0, t.size() - 2) : t;
|
||||
|
||||
Reference in New Issue
Block a user