forked from qt-creator/qt-creator
Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -60,9 +60,9 @@ void Lexer::yyinp()
|
||||
|
||||
int Lexer::yylex(Token *tk)
|
||||
{
|
||||
const char *pos = 0;
|
||||
const char *pos = nullptr;
|
||||
int line = 0;
|
||||
_yyval.ptr = 0;
|
||||
_yyval.ptr = nullptr;
|
||||
const int kind = yylex_helper(&pos, &line);
|
||||
tk->kind = kind;
|
||||
tk->position = pos - _source;
|
||||
|
||||
Reference in New Issue
Block a user