aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/tests/testmodifydocumentation.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-09 11:35:42 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-10 09:17:46 +0000
commit3464f53cb98cbd70a4e46a5c2f4c59a0c8cb16a0 (patch)
tree5b7f03db1a5a614b5894d163eeb42cff48cb8cc4 /sources/shiboken6/ApiExtractor/tests/testmodifydocumentation.cpp
parent2f9ad6283b888495a8536cccf6fdad7d85dd78b0 (diff)
shiboken6: Introduce a private class hierarchy for TypeEntry
Move the data members of the TypeEntry classes to private classes, using convenience macros modeled after Qt's Q_D macro. The main motivation here is header hygiene and decoupling; typesystem.h was including a lot of classes. This requires moving some code around: - Move the debug formatting helpers of the TypeEntry classes from typedatabase.cpp to typesystem.cpp. - Move struct TypeRejection to typedatabase.h - Reorder typesystem.cpp in order of declaration. Change-Id: I24fe501d98940afd44caf75057cd6131cfbd6b6e Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testmodifydocumentation.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/tests/testmodifydocumentation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/tests/testmodifydocumentation.cpp b/sources/shiboken6/ApiExtractor/tests/testmodifydocumentation.cpp
index 6acac41d5..59c062f8c 100644
--- a/sources/shiboken6/ApiExtractor/tests/testmodifydocumentation.cpp
+++ b/sources/shiboken6/ApiExtractor/tests/testmodifydocumentation.cpp
@@ -33,6 +33,7 @@
#include <QtTest/QTest>
#include "testutil.h"
#include <abstractmetalang.h>
+#include <modifications.h>
#include <typesystem.h>
#include <qtdocparser.h>