diff options
author | Martin Smith <martin.smith@qt.io> | 2019-07-18 13:38:35 +0200 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2019-07-22 14:43:40 +0200 |
commit | 466d87a7c92436e0da98005475065dc212cac71c (patch) | |
tree | e9ba90a816153c7b742109b7cdee2ebba23c94c2 /src/qdoc/clangcodeparser.cpp | |
parent | 1b9972cde24a8d8bb7f24ddbb196666456a1ce6b (diff) | |
download | qttools-466d87a7c92436e0da98005475065dc212cac71c.tar.gz |
qdoc: Fix the \reimp command output
When qdoc finds \reimp in a function node comment, it searches the parent class
node's base classes to find the function node for the function that is overridden.
When it finds this node it prints the "Reimpliments: Yyy::Xxx()" line in the current
function node's documentation. This was not working correctly when the reimplemented
function was in a different module. The problem was that the fact that the function
in the base class had been documented was not recorded in the index file. This update
fixes that problem. Now every element that was documented is given the "documented"
attribute in the index file set to true.
Sometimes, \reimp is used to say that a function reimplements an access
function for a property in a base class. This update handles that case
as well. See QToolButton::sizeHint(), for example.
This change introduces a 6 new qdoc errors in QtBase about \reimp functions for
which a documented base class function was not found.
Change-Id: Idd444958c3118ade97642bf84781166e6ca8f036
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions