diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-07 17:37:42 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-08 07:43:40 +0000 |
commit | 053e4494cf74a08fbea3efe80a0c2eb28e1b9c59 (patch) | |
tree | 23bcb1a571b40d94a67ef789dd6d912862c5f568 /src/plugins/qmljstools | |
parent | c6ba157155e1b76182b38b60d2621a1a792de1ea (diff) | |
download | qt-creator-053e4494cf74a08fbea3efe80a0c2eb28e1b9c59.tar.gz |
Qml: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr.
Change-Id: Ibe0dddaacbabd47b5a0519ae361132818d5b8be2
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Diffstat (limited to 'src/plugins/qmljstools')
-rw-r--r-- | src/plugins/qmljstools/qmljssemanticinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljstools/qmljssemanticinfo.h b/src/plugins/qmljstools/qmljssemanticinfo.h index 3ba52b4b7c..58496252f6 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; |