[lldb] Use nullptr instead of NULL (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 24 Jul 2022 19:27:08 +0000 (12:27 -0700)
committerKazu Hirata <kazu@google.com>
Sun, 24 Jul 2022 19:27:08 +0000 (12:27 -0700)
Identified with modernize-use-nullptr.

lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp

index af34301..f7f0104 100644 (file)
@@ -135,8 +135,8 @@ public:
   const char *GetIgnoredExceptions() const {
     const uint32_t idx = ePropertyIgnoredExceptions;
     const OptionValueString *option_value =
-        m_collection_sp->GetPropertyAtIndexAsOptionValueString(
-            NULL, false, idx);
+        m_collection_sp->GetPropertyAtIndexAsOptionValueString(nullptr, false,
+                                                               idx);
     assert(option_value);
     return option_value->GetCurrentValue();
   }
@@ -144,8 +144,8 @@ public:
   OptionValueString *GetIgnoredExceptionValue() {
     const uint32_t idx = ePropertyIgnoredExceptions;
     OptionValueString *option_value =
-        m_collection_sp->GetPropertyAtIndexAsOptionValueString(
-            NULL, false, idx);
+        m_collection_sp->GetPropertyAtIndexAsOptionValueString(nullptr, false,
+                                                               idx);
     assert(option_value);
     return option_value;
   }