DIEClassBaseType: Also handle inner types.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31398 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-07-03 20:58:02 +00:00
parent 3dd8670617
commit 15857c22d5
2 changed files with 8 additions and 0 deletions
@@ -471,7 +471,14 @@ DIEClassBaseType::AddChild(DebugInfoEntry* child)
// TODO: Templates!
// TODO: Variants!
default:
{
if (child->IsType()) {
fInnerTypes.Add(child);
return B_OK;
}
return DIECompoundType::AddChild(child);
}
}
}
@@ -343,6 +343,7 @@ protected:
DebugInfoEntryList fFriends;
DebugInfoEntryList fAccessDeclarations;
DebugInfoEntryList fMemberFunctions;
DebugInfoEntryList fInnerTypes;
};