diff --git a/src/ast/module.h b/src/ast/module.h index e4313c38e4..d5c480f70f 100644 --- a/src/ast/module.h +++ b/src/ast/module.h @@ -37,12 +37,18 @@ class Module { typename std::enable_if::value, T>::type; public: + /// Constructor Module(); + /// Move constructor Module(Module&&); - /// Move assignment + + /// Move assignment operator /// @param rhs the Module to move + /// @return this Module Module& operator=(Module&& rhs); + + /// Destructor ~Module(); /// @return a deep copy of this module diff --git a/src/ast/type_manager.h b/src/ast/type_manager.h index 1c3d27c60c..f428ac98f5 100644 --- a/src/ast/type_manager.h +++ b/src/ast/type_manager.h @@ -28,12 +28,18 @@ namespace ast { /// The type manager holds all the pointers to the known types. class TypeManager { public: + /// Constructor TypeManager(); + /// Move constructor TypeManager(TypeManager&&); - // Move assignment + + /// Move assignment operator /// @param rhs the TypeManager to move + /// @return this TypeManager TypeManager& operator=(TypeManager&& rhs); + + /// Destructor ~TypeManager(); /// Clears all registered types.