diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-11 12:53:27 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-11 13:03:29 +0000 |
| commit | 434b5b0cc2c44d0224281bbdb234976483500b44 (patch) | |
| tree | e64206bee9a6e07e7d8c945db79f63c5102f7f52 /sources/shiboken6/ApiExtractor/modifications.cpp | |
| parent | f5beedff19edbacb60cf1a8bb3d26804b50925d5 (diff) | |
shiboken6: Remove <argument-map> and "associated-to"
The element <argument-map> appears to be related to code snippets, but
it is neither documented nor used anywhere.
The attribute "associated-to" is also unused.
Change-Id: Ib567d5391d0ee5284db5a38db4a4e803bf569ef4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/modifications.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/modifications.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sources/shiboken6/ApiExtractor/modifications.cpp b/sources/shiboken6/ApiExtractor/modifications.cpp index 3f8b1e71f..625ae3f4e 100644 --- a/sources/shiboken6/ApiExtractor/modifications.cpp +++ b/sources/shiboken6/ApiExtractor/modifications.cpp @@ -381,14 +381,7 @@ QDebug operator<<(QDebug d, const CodeSnip &s) d << lines.at(i).trimmed(); } } - d << '"'; - if (!s.argumentMap.isEmpty()) { - d << ", argumentMap{"; - for (auto it = s.argumentMap.cbegin(), end = s.argumentMap.cend(); it != end; ++it) - d << it.key() << "->\"" << it.value() << '"'; - d << '}'; - } - d << ')'; + d << "\")"; return d; } @@ -409,8 +402,6 @@ void FunctionModification::formatDebug(QDebug &d) const d << "signature=\"" << m_signature; d << "\", "; Modification::formatDebug(d); - if (!association.isEmpty()) - d << ", association=\"" << association << '"'; if (m_allowThread != TypeSystem::AllowThread::Unspecified) d << ", allowThread=" << int(m_allowThread); if (m_thread) |
