From 568edda0b4c2f4ff53652a28aa27a89cb54c2aac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 9 Jan 2022 19:25:46 +0100 Subject: [PATCH] documentation/doxygen: Doxygen 1.9.3 warns about \return for void. And quite intensely. Don't do that, then. --- documentation/test_doxygen/compound_detailed/File.h | 9 +++++---- .../test_doxygen/compound_detailed/namespaceWarning.html | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/documentation/test_doxygen/compound_detailed/File.h b/documentation/test_doxygen/compound_detailed/File.h index 016ee61d..a240960f 100644 --- a/documentation/test_doxygen/compound_detailed/File.h +++ b/documentation/test_doxygen/compound_detailed/File.h @@ -227,14 +227,15 @@ namespace Warning { /** @brief Wrong @param wrong This parameter is not here -@return Returns nothing. -@return Returns nothing, but second time. This is ignored. +@return Returns something. +@return Returns something, but second time. This is ignored. Function details. -@return Returns nothing, third time, in a different paragraph. Ignored as well. +@return Returns something, third time, in a different paragraph. Ignored as + well. */ -void bar(); +int bar(); } diff --git a/documentation/test_doxygen/compound_detailed/namespaceWarning.html b/documentation/test_doxygen/compound_detailed/namespaceWarning.html index 653b039d..5048c17d 100644 --- a/documentation/test_doxygen/compound_detailed/namespaceWarning.html +++ b/documentation/test_doxygen/compound_detailed/namespaceWarning.html @@ -39,23 +39,23 @@

Functions

- void bar() + auto bar() -> int
Wrong.

Function documentation

-
+

- void Warning::bar() + int Warning::bar()

Wrong.

- +
ReturnsReturns nothing.Returns something.
-- 2.30.2