diff options
| author | smanna12 <soumi.manna@intel.com> | 2024-07-01 05:50:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-01 07:50:57 -0500 |
| commit | 035e76ff3706ee3e677fbae67cf47a343cf6eceb (patch) | |
| tree | ade1eefcbdbf991a734f7bf8a8428c558d153e81 /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py | |
| parent | 9f04d75b2bd8ba83863db74ebe1a5c08cfc5815c (diff) | |
[Serialization] Clear moved-from deque to ensure valid state post-move (#97221)
This patch addresses a use-after-move issue, reported by static analyzer
tool, by clearing the `PotentiallyInterestingDecls` deque after it has
been moved to `MaybeInterestingDecls`.
The fix ensures that the subsequent assert statement correctly checks
for an empty state, preventing any undefined behavior in
ASTReader::PassInterestingDeclsToConsumer().
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions
