aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/tools/lldb/source/Core/ModuleChild.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 21:59:52 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 21:59:52 +0000
commit435933dd67752b0d68c320107a5e69435a6f20ec (patch)
treed6d182de35e23e0da238fad40b066bab6a712352 /contrib/llvm/tools/lldb/source/Core/ModuleChild.cpp
parent1189dbaa8c30085bd4f9cc7759a459160bcf2375 (diff)
parent14f1b3e8826ce43b978db93a62d1166055db5394 (diff)
Notes
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Core/ModuleChild.cpp')
-rw-r--r--contrib/llvm/tools/lldb/source/Core/ModuleChild.cpp38
1 files changed, 12 insertions, 26 deletions
diff --git a/contrib/llvm/tools/lldb/source/Core/ModuleChild.cpp b/contrib/llvm/tools/lldb/source/Core/ModuleChild.cpp
index 9637fc3aedda..86495742754d 100644
--- a/contrib/llvm/tools/lldb/source/Core/ModuleChild.cpp
+++ b/contrib/llvm/tools/lldb/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;
}