![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "aggregate.h"#include "config.h"#include "functionnode.h"#include "inclusionfilter.h"#include "inclusionpolicy.h"#include "parameters.h"#include "typedefnode.h"#include "qdocdatabase.h"#include "qmlpropertynode.h"#include "qmltypenode.h"#include "sharedcommentnode.h"#include <vector>Go to the source code of this file.
Functions | |
| static void | warnAboutDocumentedChildInUndocumentedParent (const Node *aggregate, const Node *child) |
| static bool | keep (FunctionNode *fn) |
|
static |
Definition at line 616 of file aggregate.cpp.
References FunctionNode::isDeprecated(), FunctionNode::isDtor(), Node< _Tp >::isInternal(), Node< _Tp >::isPrivate(), and FunctionNode::isSomeCtor().
|
static |
Warn about documented, non-private children under undocumented parents, unless:
\list
{\internal} (we check the child's own status, not inherited internal status from the parent). {\dontdocument} command. {\dontdocument} command. {-showinternal} command-line option is set (internal nodes generate output, so the warning is not needed). {-no-linkerrors} command-line option is set (avoids false positives when the aggregate is documented outside the current project). {child->status()} directly rather than {child->isInternal()} because {isInternal()} also considers the parent's status. Since the parent is undocumented (and thus marked Internal), {isInternal()} would incorrectly return true for all children, suppressing the warning entirely.Definition at line 267 of file aggregate.cpp.
References Node< _Tp >::declLocation(), Node< _Tp >::doc(), Node< _Tp >::genus(), Node< _Tp >::hasDoc(), Internal, Doc::isAutoGenerated(), Node< _Tp >::isDontDocument(), Location::isEmpty(), Node< _Tp >::isNamespace(), Node< _Tp >::isPrivate(), Node< _Tp >::isProxyNode(), Doc::location(), Node< _Tp >::parent(), InclusionFilter::processInternalDocs(), and Node< _Tp >::status().