aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorSlava Gurevich <sgurevich@gmail.com>2025-10-30 00:25:10 -0700
committerGitHub <noreply@github.com>2025-10-30 00:25:10 -0700
commit98ceb458f42ed05e2c3e9fb5bc75cd6b1df7a438 (patch)
treeeeaebd90358c466f578e4e2c3ada1e8c964891b3 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent4d7093b80618e63af91a64c7a01a7c423b12841c (diff)
downloadllvm-98ceb458f42ed05e2c3e9fb5bc75cd6b1df7a438.zip
llvm-98ceb458f42ed05e2c3e9fb5bc75cd6b1df7a438.tar.gz
llvm-98ceb458f42ed05e2c3e9fb5bc75cd6b1df7a438.tar.bz2
[mlir] Fix use-after-move issues (#165660)
This patch addresses two use-after-move issues: 1. `Timing.cpp` A variable was std::moved and then immediately passed to an `assert()` check. Since the moved-from state made the assertion condition trivially true, the check was effectively useless. The `assert()` is removed. 2. `Query.cpp` The `matcher` object was moved-from and then subsequently used as if it still retained valid state. The fix ensures no subsequent use for the moved-from variable. Testing: `ninja check-mlir`
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions