summaryrefslogtreecommitdiff
path: root/src/qdoc/node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/node.cpp')
-rw-r--r--src/qdoc/node.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/qdoc/node.cpp b/src/qdoc/node.cpp
index 2ec58dc3a..f0ffafa1b 100644
--- a/src/qdoc/node.cpp
+++ b/src/qdoc/node.cpp
@@ -1493,7 +1493,7 @@ QString Node::physicalModuleName() const
/*!
If this node has a child that is a QML property or JS property
- named \a n, return a pointer to that child. Otherwise return 0.
+ named \a n, return a pointer to that child. Otherwise, return \nullptr.
*/
QmlPropertyNode* Aggregate::hasQmlProperty(const QString& n) const
{
@@ -1840,8 +1840,9 @@ QmlTypeNode* ClassNode::findQmlBaseNode()
\a fn is an overriding function in this class or in a class
derived from this class. Find the node for the function that
\a fn overrides in this class's children or in one of this
- class's base classes. Return a pointer to the overridden
- function or return 0.
+ class's base classes.
+
+ \returns a pointer to the overridden function, or \nullptr.
This should be revised because clang provides the path to the
overridden function. mws 15/12/2018
@@ -1872,8 +1873,9 @@ FunctionNode* ClassNode::findOverriddenFunction(const FunctionNode* fn)
\a fn is an overriding function in this class or in a class
derived from this class. Find the node for the property that
\a fn overrides in this class's children or in one of this
- class's base classes. Return a pointer to the overridden
- property or return 0.
+ class's base classes.
+
+ \returns a pointer to the overridden function, or \nullptr.
*/
PropertyNode* ClassNode::findOverriddenProperty(const FunctionNode* fn)
{