Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
qttools: 18fe6a9a5eb4a1c2ce62cd64b42b6db5e581e152
Description
qdoc creates a function node each time it parses a function declaration, even when it is parsing a function definition in a .cpp file or a \fn command. qdoc should only create function nodes when it is parsing .h files, and possibly in a few other cases. When qdoc sees a function definition or \fn command in a .cpp file, it should avoid creating a function node, because qdoc already created it when it parsed the function declaration in a .h file.
Additionally, the "No documentation for..." error should include the parameters when the error refers to a function without documentation.
Attachments
For Gerrit Dashboard: QTBUG-48191 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
125413,8 | qdoc: Remove creation of redundant function & variable nodes | dev | qt/qtbase | Status: ABANDONED | -2 | 0 |
125594,3 | qdoc: Remove creation of redundant function nodes | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
139501,3 | qdoc: Remove creation of redundant function & variable nodes | dev | qt/qttools | Status: MERGED | +2 | 0 |
149916,3 | Revert "qdoc: Remove creation of redundant function & variable nodes" | 5.7 | qt/qttools | Status: MERGED | +2 | 0 |