Make IsSyntheticChildrenGenerated() virtual so that dynamic and synthetic values can refer back to their parents
llvm-svn: 274901
This commit is contained in:
@@ -418,6 +418,22 @@ ValueObjectDynamicValue::GetPreferredDisplayLanguage ()
|
||||
return m_preferred_display_language;
|
||||
}
|
||||
|
||||
bool
|
||||
ValueObjectDynamicValue::IsSyntheticChildrenGenerated ()
|
||||
{
|
||||
if (m_parent)
|
||||
return m_parent->IsSyntheticChildrenGenerated();
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
ValueObjectDynamicValue::SetSyntheticChildrenGenerated (bool b)
|
||||
{
|
||||
if (m_parent)
|
||||
m_parent->SetSyntheticChildrenGenerated(b);
|
||||
this->ValueObject::SetSyntheticChildrenGenerated(b);
|
||||
}
|
||||
|
||||
bool
|
||||
ValueObjectDynamicValue::GetDeclaration (Declaration &decl)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user