[lldb] Use nullptr instead of NULL (NFC)

Identified with modernize-use-nullptr.
This commit is contained in:
Kazu Hirata
2022-08-27 21:21:07 -07:00
parent 0660249cca
commit 920ffab9cc
3 changed files with 4 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ public:
// Python's readline is incompatible with libedit being linked into lldb.
// Provide a patched version local to the embedded interpreter.
bool ReadlinePatched = false;
for (auto *p = PyImport_Inittab; p->name != NULL; p++) {
for (auto *p = PyImport_Inittab; p->name != nullptr; p++) {
if (strcmp(p->name, "readline") == 0) {
p->initfunc = initlldb_readline;
break;