From 053e4494cf74a08fbea3efe80a0c2eb28e1b9c59 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 7 May 2018 17:37:42 +0200 Subject: [PATCH] Qml: Consistently use nullptr Fixed by clang-tidy modernize-use-nullptr. Change-Id: Ibe0dddaacbabd47b5a0519ae361132818d5b8be2 Reviewed-by: Marco Benelli --- src/plugins/qmljseditor/qmljsfindreferences.h | 2 +- src/plugins/qmljstools/qmljssemanticinfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmljseditor/qmljsfindreferences.h b/src/plugins/qmljseditor/qmljsfindreferences.h index 30d6cfe1858..192d25fe45f 100644 --- a/src/plugins/qmljseditor/qmljsfindreferences.h +++ b/src/plugins/qmljseditor/qmljsfindreferences.h @@ -64,7 +64,7 @@ public: }; public: - FindReferences(QObject *parent = 0); + FindReferences(QObject *parent = nullptr); ~FindReferences() override; signals: diff --git a/src/plugins/qmljstools/qmljssemanticinfo.h b/src/plugins/qmljstools/qmljssemanticinfo.h index 3ba52b4b7cb..58496252f66 100644 --- a/src/plugins/qmljstools/qmljssemanticinfo.h +++ b/src/plugins/qmljstools/qmljssemanticinfo.h @@ -44,7 +44,7 @@ namespace QmlJSTools { class QMLJSTOOLS_EXPORT Range { public: - Range(): ast(0) {} + Range(): ast(nullptr) {} public: // attributes QmlJS::AST::Node *ast;