diff options
| author | Luca Di Sera <luca.disera@qt.io> | 2023-11-03 15:31:24 +0100 |
|---|---|---|
| committer | Luca Di Sera <luca.disera@qt.io> | 2023-11-17 19:06:34 +0100 |
| commit | 06db30d2b5da9bef50d7c278110acb937d5bc924 (patch) | |
| tree | ee5ef47cfee44c41aa4d9f50cb9c300e6f6f4a4c /src/corelib/tools/qscopedpointer.cpp | |
| parent | 505ac7007b5e4aa5e75d140e8ed008409039636f (diff) | |
Doc: Fix template information in "qsharedpointer.cpp"
When QDoc parses a project, it parses the source code to extract the
user-provided documentation and perform sanity checkings based on the
code itself on it.
When QDoc parses an "\fn" command as part of this process, it tries to
understand, based on its intermediate representation built on the
information extracted from the code-base, which "documentable element"
the "\fn" refers to.
When QDoc performs this "matching" process, it takes into consideration
only a certain amount of information.
For example, no checking is performed over the template declaration of a
callable.
Due to some upcoming documentation, where two callables are
indistinguishable to the current process, as they differ only in their
template declaration, QDoc will start to take into consideration the
template declaration of a callable when matching.
This implies that an "\fn" command should now provide information
parity, with regards to template declaration for callables, with the
code-base so that QDoc can perform the match correctly.
Some of the documented callables in "qsharedpointer.cpp" are not in sync
with the template declaration of their intended target.
Hence, add the missing information to the relevant "\fn" commands.
Task-number: QTBUG-118080
Change-Id: Iadac55e944aa425205b9d1cd8b4189ffacb4a089
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/corelib/tools/qscopedpointer.cpp')
0 files changed, 0 insertions, 0 deletions
