Commit 18fe6a9a authored by Martin Smith's avatar Martin Smith
Browse files

qdoc: Remove creation of redundant function & variable nodes


qdoc no longer creates a function node when it parses a function
declaration, if a function node for the function already exists.
This avoids needless allocation and deallocation.

qdoc now also avoids creating unnecessary variable nodes.

This change also improves the "No documentation for..." error
message so that it includes the parameters if the error refers
to a function. This makes it easier to find the correct function
when you are trying to correct these errors in the documentation.

Change-Id: Ib0f9361622f9115d677408e36bfed77c42545be0
Task-number: QTBUG-48191
Reviewed-by: default avatarMartin Smith <martin.smith@digia.com>
parent 13aea123
No related merge requests found
Showing with 586 additions and 446 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment