mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
Added copy constructors and assignment operators to all lldb::SB* classes
so we don't end up with weak exports with some compilers. llvm-svn: 118312
This commit is contained in:
1 parent
2db0ea03ba
commit
efabb123af
50 files changed
+585
-146
No files matched your search
@@ -32,6 +32,18 @@ SBFunction::SBFunction (lldb_private::Function *lldb_object_ptr) :
|
||||
{
|
||||
}
|
||||
|
||||
SBFunction::SBFunction (const lldb::SBFunction &rhs) :
|
||||
m_opaque_ptr (rhs.m_opaque_ptr)
|
||||
{
|
||||
}
|
||||
|
||||
const SBFunction &
|
||||
SBFunction::operator = (const SBFunction &rhs)
|
||||
{
|
||||
m_opaque_ptr = rhs.m_opaque_ptr;
|
||||
return *this;
|
||||
}
|
||||
|
||||
SBFunction::~SBFunction ()
|
||||
{
|
||||
m_opaque_ptr = NULL;
|
||||
|
||||
Reference in new issue
Block a user