diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-07-29 09:17:13 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-07-30 10:08:21 +0200 |
commit | 6428bb8f857ca83c244f1d021f9fae0ec3ee6b46 (patch) | |
tree | 622816d576fe4042b7b281750f8145a2c5a675d1 /sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp | |
parent | 9318c09dbaa0ac78beb8edfd76a650e46e1a1b09 (diff) | |
parent | f563bf430aeadc7b15433b28bf848fa0c68ba394 (diff) |
Merge "Merge remote-tracking branch 'origin/5.13' into 5.14"
Diffstat (limited to 'sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp')
-rw-r--r-- | sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp b/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp index 5dc761d49..9c930dcdc 100644 --- a/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp +++ b/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp @@ -1052,6 +1052,10 @@ AbstractMetaClass *AbstractMetaBuilderPrivate::traverseClass(const FileModelItem reason = AbstractMetaBuilder::GenerationDisabled; } if (reason != AbstractMetaBuilder::NoReason) { + if (fullClassName.isEmpty()) { + QTextStream(&fullClassName) << "anonymous struct at " << classItem->fileName() + << ':' << classItem->startLine(); + } m_rejectedClasses.insert(fullClassName, reason); return nullptr; } |