path: root/src/corelib/kernel/qmetatype.cpp
diff options
authorMartin Smith <>2018-01-08 13:44:24 +0100
committerMartin Smith <>2018-01-09 06:40:14 +0000
commit49e2746e16d481e753cb1858f92aaf653210cb34 (patch)
tree29a8708cdd96a0844af8a6c121be5793f085d463 /src/corelib/kernel/qmetatype.cpp
parent32c942ce856572093b0fef2e79b30a80fe8db23e (diff)
doc: Correct clang parsing errors in qvariant.h
Some old uses of Q_QDOC to prevent the old qdoc C++ parser from seeing declarations it didn't need to see were preventing clang from seeing declarations it did need to see. These have been removed, and some internal documentation has been added to account for some declarations that suddenly became public but should not be seen in the Qt API. Change-Id: Iccf423e5cf8767f0a271150ab59bea54cf90ac46 Reviewed-by: Topi Reiniƶ <>
Diffstat (limited to 'src/corelib/kernel/qmetatype.cpp')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/kernel/qmetatype.cpp b/src/corelib/kernel/qmetatype.cpp
index 091dfa8d37..5abc2ebd70 100644
--- a/src/corelib/kernel/qmetatype.cpp
+++ b/src/corelib/kernel/qmetatype.cpp
@@ -216,6 +216,7 @@ struct DefinedTypesFilter {
\value QChar QChar
\value QString QString
\value QByteArray QByteArray
+ \value Nullptr \c{std::nullptr_t}
\value VoidStar \c{void *}
\value Long \c{long}
@@ -287,6 +288,8 @@ struct DefinedTypesFilter {
\value User Base value for user types
\value UnknownType This is an invalid type id. It is returned from QMetaType for types that are not registered
+ \omitvalue LastCoreType
+ \omitvalue LastGuiType
Additional types can be registered using Q_DECLARE_METATYPE().