summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBDeclaration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBDeclaration.cpp')
-rw-r--r--lldb/source/API/SBDeclaration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBDeclaration.cpp b/lldb/source/API/SBDeclaration.cpp
index f14ca3993f4..a7790b29398 100644
--- a/lldb/source/API/SBDeclaration.cpp
+++ b/lldb/source/API/SBDeclaration.cpp
@@ -147,7 +147,7 @@ const lldb_private::Declaration *SBDeclaration::operator->() const {
}
lldb_private::Declaration &SBDeclaration::ref() {
- if (m_opaque_up == NULL)
+ if (m_opaque_up == nullptr)
m_opaque_up.reset(new lldb_private::Declaration());
return *m_opaque_up;
}
OpenPOWER on IntegriCloud