-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return types in C++ #22
Comments
@Shatur Can you try updating the plugin and checking out ? |
I think you get me wrong. We shouldn't have |
Examples: Instead of: /**
* @brief
*
* @return
*/
void test(); We should have: /**
* @brief
*/
void test(); |
I don't quite get it:
|
Yes. |
Okay so I just apply those changes ? #22 (comment) |
Yes, I think so :) |
@Shatur Can you test the last changes ? |
It works, but now only for primitive types. /**
* @brief Check translation progress
*
* @return `true` when the translation is still processing and has not finished or was aborted yet.
*/
bool isRunning() const; But this doesn't: /**
* @brief
*/
QToolButton swapButton(); Should be like this: /**
* @brief
*
* @return
*/
QToolButton swapButton(); |
Hello @Shatur, can you try the fix provided ? |
Now everything is awesome, thank you! |
Issue description
Currently the plugin generates
@returns
forreturn_statement
. But sometimes it doesn't work.Examples
No return type:
Return type present.
Additional notes
Doxygen understands @return and @returns. But I would suggest to go with
@return
, since@returns
is just an alias to@return
.The text was updated successfully, but these errors were encountered: