Fix libstdc++ build
- Add missing operator= definition for DelayedAddObjCClassProperty - needed to be compatible with libstdc++ vector implementation llvm-svn: 167747
This commit is contained in:
parent
263280248a
commit
d4c5be61f2
|
|
@ -1503,6 +1503,11 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
DelayedAddObjCClassProperty (const DelayedAddObjCClassProperty &rhs)
|
DelayedAddObjCClassProperty (const DelayedAddObjCClassProperty &rhs)
|
||||||
|
{
|
||||||
|
*this = rhs;
|
||||||
|
}
|
||||||
|
|
||||||
|
DelayedAddObjCClassProperty& operator= (const DelayedAddObjCClassProperty &rhs)
|
||||||
{
|
{
|
||||||
m_ast = rhs.m_ast;
|
m_ast = rhs.m_ast;
|
||||||
m_class_opaque_type = rhs.m_class_opaque_type;
|
m_class_opaque_type = rhs.m_class_opaque_type;
|
||||||
|
|
@ -1518,7 +1523,7 @@ public:
|
||||||
m_metadata_ap.reset (new ClangASTMetadata());
|
m_metadata_ap.reset (new ClangASTMetadata());
|
||||||
*(m_metadata_ap.get()) = *(rhs.m_metadata_ap.get());
|
*(m_metadata_ap.get()) = *(rhs.m_metadata_ap.get());
|
||||||
}
|
}
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Finalize() const
|
bool Finalize() const
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue