mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
[C++] Use 'nullptr'. Tools edition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -85,7 +85,7 @@ static bool parseCommand(bool &IsData, std::string &ModuleName,
|
||||
char quote = *pos;
|
||||
pos++;
|
||||
char *end = strchr(pos, quote);
|
||||
if (end == 0)
|
||||
if (!end)
|
||||
return false;
|
||||
ModuleName = std::string(pos, end - pos);
|
||||
pos = end + 1;
|
||||
|
Reference in New Issue
Block a user