diff options
author | Martin Smith <martin.smith@qt.io> | 2019-10-10 12:35:49 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-10-10 12:50:35 +0200 |
commit | 505a8c9dbcb6c8c668d4ad2db304f307022a3b85 (patch) | |
tree | b099e7e2d861d52c26ae4804020ab5b1e5674d4c | |
parent | 303d26c6d1c5e87e2e0d1f0032b28a6a50edee03 (diff) |
qdoc: Remove multiple QTypeInfo entries from All Classes page
QTypeInfo is a class that is generated by a Qt macro. It is not
documented and is not supposed to be documented, but clang sees
it as being in the public API. This update ensures that the
class is marked internal prior to generating the index file.
Ironically, this was one of the classes that motivated the
addition of the \dontdocument command, and it was the test for
isDontDocument() that caused this bug. We might have to visit
the \dontdocument command again.
Task-number: QTBUG-79088
Change-Id: I11307a2236e2ebcdcc205952056ddaca88fc0bd3
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r-- | src/qdoc/node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/node.cpp b/src/qdoc/node.cpp index 82bcd1b25..ea6e82536 100644 --- a/src/qdoc/node.cpp +++ b/src/qdoc/node.cpp @@ -1114,7 +1114,7 @@ QStringList Aggregate::primaryKeys() void Aggregate::markUndocumentedChildrenInternal() { foreach (Node *child, children_) { - if (!child->isSharingComment() && !child->hasDoc() && !child->isDontDocument()) { + if (!child->isSharingComment() && !child->hasDoc()) { if (!child->docMustBeGenerated()) { if (child->isFunction()) { if (static_cast<FunctionNode*>(child)->hasAssociatedProperties()) |