diff options
Diffstat (limited to 'lldb/source/Core/ModuleChild.cpp')
| -rw-r--r-- | lldb/source/Core/ModuleChild.cpp | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/lldb/source/Core/ModuleChild.cpp b/lldb/source/Core/ModuleChild.cpp deleted file mode 100644 index 9637fc3aedda..000000000000 --- a/lldb/source/Core/ModuleChild.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//===-- ModuleChild.cpp -----------------------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include "lldb/Core/ModuleChild.h" - -using namespace lldb_private; - -ModuleChild::ModuleChild (const lldb::ModuleSP &module_sp) : - m_module_wp (module_sp) -{ -} - -ModuleChild::ModuleChild (const ModuleChild& rhs) : - m_module_wp(rhs.m_module_wp) -{ -} - -ModuleChild::~ModuleChild() -{ -} - -const ModuleChild& -ModuleChild::operator= (const ModuleChild& rhs) -{ - if (this != &rhs) - m_module_wp = rhs.m_module_wp; - return *this; -} - -lldb::ModuleSP -ModuleChild::GetModule () const -{ - return m_module_wp.lock(); -} - -void -ModuleChild::SetModule (const lldb::ModuleSP &module_sp) -{ - m_module_wp = module_sp; -} |
