diff options
author | hjk <hjk@qt.io> | 2019-07-31 17:21:41 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-08-01 13:20:26 +0000 |
commit | 2e14df7561ee10c7a408bd3ebb4944016ecdd1f4 (patch) | |
tree | 4a220241720e8a307fb96e98941656cf7b9f940d /src/libs/3rdparty/cplusplus/Token.h | |
parent | 630385751a806b64d41295ee50957e2a9138a193 (diff) |
Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Token.h')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Token.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/3rdparty/cplusplus/Token.h b/src/libs/3rdparty/cplusplus/Token.h index 8c809661b4..0f0f76d3cf 100644 --- a/src/libs/3rdparty/cplusplus/Token.h +++ b/src/libs/3rdparty/cplusplus/Token.h @@ -298,7 +298,7 @@ enum Kind { class CPLUSPLUS_EXPORT Token { public: - Token() : flags(0), byteOffset(0), utf16charOffset(0), ptr(0) {} + Token() : flags(0), byteOffset(0), utf16charOffset(0), ptr(nullptr) {} inline bool is(unsigned k) const { return f.kind == k; } inline bool isNot(unsigned k) const { return f.kind != k; } |