summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-12 11:28:50 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-12 11:28:50 +0000
commit2188e61691ad89e27583fd3a4197322be830df59 (patch)
tree885c3963cb1fb06e374a0e90841449d33546d547 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
parentfbe0ca576d2b96c523182200529b5afbf709506f (diff)
[clang-doc] populateParentNamespaces - use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The pointer is referenced immediately, so assert the cast is correct instead of returning nullptr It's only later iterations of the loop where the getParent() call might return nullptr
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions