[lldb] Use nullptr instead of NULL (NFC)

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

No files matched your search

@@ -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;