aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Core/ModuleChild.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Core/ModuleChild.h')
-rw-r--r--include/lldb/Core/ModuleChild.h109
1 files changed, 52 insertions, 57 deletions
diff --git a/include/lldb/Core/ModuleChild.h b/include/lldb/Core/ModuleChild.h
index d2a6fb0c3bc1..f47c5ca135e6 100644
--- a/include/lldb/Core/ModuleChild.h
+++ b/include/lldb/Core/ModuleChild.h
@@ -19,72 +19,67 @@ namespace lldb_private {
/// @brief A mix in class that contains a pointer back to the module
/// that owns the object which inherits from it.
//----------------------------------------------------------------------
-class ModuleChild
-{
+class ModuleChild {
public:
- //------------------------------------------------------------------
- /// Construct with owning module.
- ///
- /// @param[in] module
- /// The module that owns the object that inherits from this
- /// class.
- //------------------------------------------------------------------
- ModuleChild (const lldb::ModuleSP &module_sp);
+ //------------------------------------------------------------------
+ /// Construct with owning module.
+ ///
+ /// @param[in] module
+ /// The module that owns the object that inherits from this
+ /// class.
+ //------------------------------------------------------------------
+ ModuleChild(const lldb::ModuleSP &module_sp);
- //------------------------------------------------------------------
- /// Copy constructor.
- ///
- /// @param[in] rhs
- /// A const ModuleChild class reference to copy.
- //------------------------------------------------------------------
- ModuleChild (const ModuleChild& rhs);
+ //------------------------------------------------------------------
+ /// Copy constructor.
+ ///
+ /// @param[in] rhs
+ /// A const ModuleChild class reference to copy.
+ //------------------------------------------------------------------
+ ModuleChild(const ModuleChild &rhs);
- //------------------------------------------------------------------
- /// Destructor.
- //------------------------------------------------------------------
- ~ModuleChild();
+ //------------------------------------------------------------------
+ /// Destructor.
+ //------------------------------------------------------------------
+ ~ModuleChild();
- //------------------------------------------------------------------
- /// Assignment operator.
- ///
- /// @param[in] rhs
- /// A const ModuleChild class reference to copy.
- ///
- /// @return
- /// A const reference to this object.
- //------------------------------------------------------------------
- const ModuleChild&
- operator= (const ModuleChild& rhs);
+ //------------------------------------------------------------------
+ /// Assignment operator.
+ ///
+ /// @param[in] rhs
+ /// A const ModuleChild class reference to copy.
+ ///
+ /// @return
+ /// A const reference to this object.
+ //------------------------------------------------------------------
+ const ModuleChild &operator=(const ModuleChild &rhs);
- //------------------------------------------------------------------
- /// Get const accessor for the module pointer.
- ///
- /// @return
- /// A const pointer to the module that owns the object that
- /// inherits from this class.
- //------------------------------------------------------------------
- lldb::ModuleSP
- GetModule () const;
+ //------------------------------------------------------------------
+ /// Get const accessor for the module pointer.
+ ///
+ /// @return
+ /// A const pointer to the module that owns the object that
+ /// inherits from this class.
+ //------------------------------------------------------------------
+ lldb::ModuleSP GetModule() const;
- //------------------------------------------------------------------
- /// Set accessor for the module pointer.
- ///
- /// @param[in] module
- /// A new module that owns the object that inherits from this
- /// class.
- //------------------------------------------------------------------
- void
- SetModule (const lldb::ModuleSP &module_sp);
+ //------------------------------------------------------------------
+ /// Set accessor for the module pointer.
+ ///
+ /// @param[in] module
+ /// A new module that owns the object that inherits from this
+ /// class.
+ //------------------------------------------------------------------
+ void SetModule(const lldb::ModuleSP &module_sp);
protected:
- //------------------------------------------------------------------
- // Member variables
- //------------------------------------------------------------------
- lldb::ModuleWP m_module_wp; ///< The Module that owns the object that inherits
- ///< from this class.
+ //------------------------------------------------------------------
+ // Member variables
+ //------------------------------------------------------------------
+ lldb::ModuleWP m_module_wp; ///< The Module that owns the object that inherits
+ ///< from this class.
};
} // namespace lldb_private
-
-#endif // liblldb_ModuleChild_h_
+#endif // liblldb_ModuleChild_h_