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:
@@ -471,9 +471,16 @@ DIEClassBaseType::AddChild(DebugInfoEntry* child)
|
|||||||
// TODO: Templates!
|
// TODO: Templates!
|
||||||
// TODO: Variants!
|
// TODO: Variants!
|
||||||
default:
|
default:
|
||||||
|
{
|
||||||
|
if (child->IsType()) {
|
||||||
|
fInnerTypes.Add(child);
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
|
|
||||||
return DIECompoundType::AddChild(child);
|
return DIECompoundType::AddChild(child);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark - DIENamedBase
|
// #pragma mark - DIENamedBase
|
||||||
|
|||||||
@@ -343,6 +343,7 @@ protected:
|
|||||||
DebugInfoEntryList fFriends;
|
DebugInfoEntryList fFriends;
|
||||||
DebugInfoEntryList fAccessDeclarations;
|
DebugInfoEntryList fAccessDeclarations;
|
||||||
DebugInfoEntryList fMemberFunctions;
|
DebugInfoEntryList fMemberFunctions;
|
||||||
|
DebugInfoEntryList fInnerTypes;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user