forked from qt-creator/qt-creator
Qml: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr. Change-Id: Ibe0dddaacbabd47b5a0519ae361132818d5b8be2 Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
@@ -64,7 +64,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FindReferences(QObject *parent = 0);
|
FindReferences(QObject *parent = nullptr);
|
||||||
~FindReferences() override;
|
~FindReferences() override;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ namespace QmlJSTools {
|
|||||||
class QMLJSTOOLS_EXPORT Range
|
class QMLJSTOOLS_EXPORT Range
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Range(): ast(0) {}
|
Range(): ast(nullptr) {}
|
||||||
|
|
||||||
public: // attributes
|
public: // attributes
|
||||||
QmlJS::AST::Node *ast;
|
QmlJS::AST::Node *ast;
|
||||||
|
|||||||
Reference in New Issue
Block a user