diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-12 19:59:13 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-12 19:59:30 +0000 |
| commit | 5d1e3ed3e257535fbd51706023685d2c2d9eba51 (patch) | |
| tree | a7b95a409aa79e432554f433d9afa51ec7f6c5f0 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | a0e8077d285ad35578677e3e03375cb9f1208e36 (diff) | |
[clang-tidy] SimplifyBooleanExprCheck - use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The IfStmt pointer is always referenced inside the replaceCompoundReturnWithCondition call, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
