diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-05 10:48:26 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-05 16:00:13 +0200 |
| commit | 4727e8890aa20346872f405a1993f33fd343af31 (patch) | |
| tree | b9f19277b6b6b8ec7c3027139f8b2f3e3ea76bcf /sources/shiboken6/ApiExtractor/doxygenparser.cpp | |
| parent | b1bd0cceddb44e41e26018bb40ec110abb8bddf1 (diff) | |
shiboken6: Split the document modifications in ComplexTypeEntry
Split into function modifications (with signature) with a new accessor
and let the old accessor return the class modifications only.
Add a helper function DocParser::getDocModifications() to retrieve the
modifications.
Task-number: PYSIDE-2025
Change-Id: I1f8b3eb0cfa4b121910329cd76b0a67559d76fca
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/doxygenparser.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/doxygenparser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/doxygenparser.cpp b/sources/shiboken6/ApiExtractor/doxygenparser.cpp index b8d97a748..23c56ae1f 100644 --- a/sources/shiboken6/ApiExtractor/doxygenparser.cpp +++ b/sources/shiboken6/ApiExtractor/doxygenparser.cpp @@ -148,7 +148,8 @@ void DoxygenParser::fillDocumentation(AbstractMetaClass* metaClass) funcQuery += u"/../"_s + tag.second + u")[1]"_s; } - QString doc = getDocumentation(xquery, funcQuery, DocModificationList()); + QString doc = getDocumentation(xquery, funcQuery, + DocParser::getDocModifications(metaClass, func)); if (doc.isEmpty()) { qCWarning(lcShibokenDoc, "%s", qPrintable(msgCannotFindDocumentation(doxyFilePath, func.data(), |
