From 8e6cd2e68076228b18a1a7e95c07910471bc0d40 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Thu, 3 Dec 2020 18:21:49 +0000 Subject: [PATCH] Fix doxygen warnings about missing docs Change-Id: I6bfade1db4b3e1a8c63a0bba16303925554ca6cc Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34569 Reviewed-by: dan sinclair Commit-Queue: Ben Clayton --- src/ast/module.h | 8 +++++++- src/ast/type_manager.h | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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.