diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-05-06 14:16:15 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-05-06 20:03:15 +0200 |
commit | 1f729604812f49610eabc21925ed07eab097e730 (patch) | |
tree | 26435ba53d5a3c12dbfa7fcc69b18efe2c37ba76 | |
parent | 5b8ca1b92d5e7b949d19f727986eae3106c296e0 (diff) |
shiboken6: Output more fields in the AbstractMetaClass debug operator
Pick-to: 6.3
Change-Id: I391b5dcf17b573755dd53b1f747c2ea096c0dffa
Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r-- | sources/shiboken6/ApiExtractor/abstractmetalang.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetalang.cpp b/sources/shiboken6/ApiExtractor/abstractmetalang.cpp index 8edf0d351..6aa83f617 100644 --- a/sources/shiboken6/ApiExtractor/abstractmetalang.cpp +++ b/sources/shiboken6/ApiExtractor/abstractmetalang.cpp @@ -1814,6 +1814,22 @@ void AbstractMetaClass::format(QDebug &debug) const debug << " [final]"; if (attributes().testFlag(AbstractMetaClass::Deprecated)) debug << " [deprecated]"; + + if (d->m_hasPrivateConstructor) + debug << " [private constructor]"; + if (d->m_hasDeletedDefaultConstructor) + debug << " [deleted default constructor]"; + if (d->m_hasDeletedCopyConstructor) + debug << " [deleted copy constructor]"; + if (d->m_hasPrivateDestructor) + debug << " [private destructor]"; + if (d->m_hasProtectedDestructor) + debug << " [protected destructor]"; + if (d->m_hasVirtualDestructor) + debug << " [virtual destructor]"; + if (d->m_valueTypeWithCopyConstructorOnly) + debug << " [value type with copy constructor only]"; + if (!d->m_baseClasses.isEmpty()) { debug << ", inherits "; for (auto b : d->m_baseClasses) |