Author: Kazu Hirata Date: 2022-07-24T12:27:08-07:00 New Revision: 4f8a2194c995acfb4514df39d04c918095f6cd4b
URL: https://github.com/llvm/llvm-project/commit/4f8a2194c995acfb4514df39d04c918095f6cd4b DIFF: https://github.com/llvm/llvm-project/commit/4f8a2194c995acfb4514df39d04c918095f6cd4b.diff LOG: [lldb] Use nullptr instead of NULL (NFC) Identified with modernize-use-nullptr. Added: Modified: lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp index af3430115c16b..f7f0104c27ea6 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp @@ -135,8 +135,8 @@ class PlatformDarwinProperties : public Properties { 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 @@ class PlatformDarwinProperties : public Properties { 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; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits