diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-07 17:36:22 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-09 12:15:01 +0000 |
commit | b554c761fb5bcf8c2882a7cf5d59a973c1ca86ce (patch) | |
tree | b15af0cb77052b90fd64639341c8db3d36b0d017 /src/plugins/cpptools/cppcodeformatter.h | |
parent | fb71cac07bb6a45d4592da3a92dab7f41a6623f6 (diff) | |
download | qt-creator-b554c761fb5bcf8c2882a7cf5d59a973c1ca86ce.tar.gz |
CppTools: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr.
Change-Id: I951627ba3543faa357f67ee76527518290efe3f1
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.h')
-rw-r--r-- | src/plugins/cpptools/cppcodeformatter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppcodeformatter.h b/src/plugins/cpptools/cppcodeformatter.h index 55e2a233ae..02fb12833f 100644 --- a/src/plugins/cpptools/cppcodeformatter.h +++ b/src/plugins/cpptools/cppcodeformatter.h @@ -217,7 +217,7 @@ private: QStringRef currentTokenText() const; - int tokenizeBlock(const QTextBlock &block, bool *endedJoined = 0); + int tokenizeBlock(const QTextBlock &block, bool *endedJoined = nullptr); void turnInto(int newState); |