Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 309844

Summary: Doxygen support generates @return for constructors and destructors
Product: [Tools] CDT Reporter: Johannes Wienke <languitar>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: CLOSED DUPLICATE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: minor    
Priority: P3 CC: malaperle
Version: 0 DD 1.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Johannes Wienke CLA 2010-04-20 13:08:45 EDT
Build Identifier: 20100218-1602

The Doxygen support generates @return tags for constructors and destructors.

Reproducible: Always

Steps to Reproduce:
1. Have a constructor definition in a header like:
FooClass(int bla);
2. Above this definition type /** and press enter
3. The generated comment is
/**
 * @param bla
 * @return
 */
Comment 1 Peter Soetens CLA 2010-05-11 09:54:36 EDT
I'm annoyed by this one too. Especially since it *does* detect a void, meaning, it omits the @return for void functions.
Comment 2 Marc-André Laperle CLA 2013-07-04 12:50:10 EDT

*** This bug has been marked as a duplicate of bug 240558 ***