From 14f1b3e8826ce43b978db93a62d1166055db5394 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:26:05 +0000 Subject: Vendor import of lldb trunk r290819: https://llvm.org/svn/llvm-project/lldb/trunk@290819 --- source/Core/ModuleChild.cpp | 38 ++++++++++++-------------------------- 1 file changed, 12 insertions(+), 26 deletions(-) (limited to 'source/Core/ModuleChild.cpp') diff --git a/source/Core/ModuleChild.cpp b/source/Core/ModuleChild.cpp index 9637fc3aeddae..86495742754d8 100644 --- a/source/Core/ModuleChild.cpp +++ b/source/Core/ModuleChild.cpp @@ -11,36 +11,22 @@ using namespace lldb_private; -ModuleChild::ModuleChild (const lldb::ModuleSP &module_sp) : - m_module_wp (module_sp) -{ -} +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 &rhs) + : m_module_wp(rhs.m_module_wp) {} -ModuleChild::~ModuleChild() -{ -} +ModuleChild::~ModuleChild() {} -const ModuleChild& -ModuleChild::operator= (const ModuleChild& rhs) -{ - if (this != &rhs) - m_module_wp = rhs.m_module_wp; - return *this; +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(); -} +lldb::ModuleSP ModuleChild::GetModule() const { return m_module_wp.lock(); } -void -ModuleChild::SetModule (const lldb::ModuleSP &module_sp) -{ - m_module_wp = module_sp; +void ModuleChild::SetModule(const lldb::ModuleSP &module_sp) { + m_module_wp = module_sp; } -- cgit v1.2.3