From ab19b3e30dcc56a176d249c41d9bdae69f0df3a3 Mon Sep 17 00:00:00 2001 From: Jiaqing Zhao Date: Thu, 8 Jun 2023 04:30:10 +0000 Subject: [PATCH] doc: update coding guideline for doxygen comments void-returning functions should not have '@return' tag documented as required by doxygen 1.9.4 or later versions. Tracked-On: #8425 Signed-off-by: Jiaqing Zhao Reviewed-by: Junjie Mao --- doc/developer-guides/c_coding_guidelines.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/developer-guides/c_coding_guidelines.rst b/doc/developer-guides/c_coding_guidelines.rst index 183140b1b..532dd5cf2 100644 --- a/doc/developer-guides/c_coding_guidelines.rst +++ b/doc/developer-guides/c_coding_guidelines.rst @@ -3312,8 +3312,7 @@ each function: ``@post ``. 12) The brief description of the function return value shall be documented with the format ``@return ``. -13) A void-returning function shall be documented with the format - ``@return None``. +13) A void-returning function shall not be documented with ``@return``. 14) The comments explaining the actual return values shall be documented with the format ``@retval ``. 15) If the description of one element needs to span multiple lines, each line