aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2021-10-18 13:59:07 -0400
committerAaron Ballman <aaron@aaronballman.com>2021-10-18 14:01:55 -0400
commit5b949a649aff0406a878e8eb8d7d5efba0a55e4a (patch)
tree659a5bc527c7e4786affe29b2b7069dbe1e3999b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp
parentd0d9be337e17f694550eb923bd4e8c611864668b (diff)
downloadllvm-5b949a649aff0406a878e8eb8d7d5efba0a55e4a.zip
llvm-5b949a649aff0406a878e8eb8d7d5efba0a55e4a.tar.gz
llvm-5b949a649aff0406a878e8eb8d7d5efba0a55e4a.tar.bz2
Fix crash when diagnosing a CTAD failure in an array new expression
This appears to be a think-o where the developer was trying to check for a null pointer but was actually checking (redundantly) whether the optional held a valid value or not. We now properly check the pointer for null. This fixes PR51547.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions