aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-07-24 12:27:08 -0700
committerKazu Hirata <kazu@google.com>2022-07-24 12:27:08 -0700
commit4f8a2194c995acfb4514df39d04c918095f6cd4b (patch)
tree9d34ea8bc15f3005ad8cdbb194a1f5c6bc66dfdb
parent559463e94ee38a48eed5c24fb4a1a4f379720fd2 (diff)
downloadllvm-4f8a2194c995acfb4514df39d04c918095f6cd4b.zip
llvm-4f8a2194c995acfb4514df39d04c918095f6cd4b.tar.gz
llvm-4f8a2194c995acfb4514df39d04c918095f6cd4b.tar.bz2
[lldb] Use nullptr instead of NULL (NFC)
Identified with modernize-use-nullptr.
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
index af34301..f7f0104 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
@@ -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;
}