summaryrefslogtreecommitdiffstats
path: root/src/qdoc/tree.h
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2019-01-31 16:43:15 +0100
committerPaul Wicking <paul.wicking@qt.io>2019-02-08 21:48:17 +0000
commit4d2903ce81b5e1cdfb18b108838f44bc8e8603de (patch)
treed1fd1177b9fa3b99c6807038d9a76c346765d33f /src/qdoc/tree.h
parent439d9682de6052492431324e8c207e3cc3c02957 (diff)
QDoc: Code cleanup, use nullptr for nullptr constants
Replace 0 as nullptr constant with nullptr. Remove reduntant semi-colons after member function definitions. Adjust whitespace on lines otherwise touched. Change-Id: I6af218ca8377611040360e0a3da392e7cffd29e9 Reviewed-by: Martin Smith <martin.smith@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qdoc/tree.h')
-rw-r--r--src/qdoc/tree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qdoc/tree.h b/src/qdoc/tree.h
index abef4cca1..e8a8f261e 100644
--- a/src/qdoc/tree.h
+++ b/src/qdoc/tree.h
@@ -114,7 +114,7 @@ class Tree
private: // The rest of the class is private.
Aggregate *findAggregate(const QString &name);
Node* findNodeForInclude(const QStringList& path) const;
- ClassNode* findClassNode(const QStringList& path, const Node* start = 0) const;
+ ClassNode* findClassNode(const QStringList& path, const Node* start = nullptr) const;
NamespaceNode* findNamespaceNode(const QStringList& path) const;
const FunctionNode *findFunctionNode(const QStringList &path,
const Parameters &parameters,
@@ -220,8 +220,8 @@ class Tree
bool broken);
TargetList* getTargetList(const QString& module);
QStringList getTargetListKeys() { return targetListMap_->keys(); }
- FunctionNode *findFunctionNodeForTag(const QString &tag, Aggregate *parent = 0);
- FunctionNode *findMacroNode(const QString &t, const Aggregate *parent = 0);
+ FunctionNode *findFunctionNodeForTag(const QString &tag, Aggregate *parent = nullptr);
+ FunctionNode *findMacroNode(const QString &t, const Aggregate *parent = nullptr);
private:
bool treeHasBeenAnalyzed_;