summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h
diff options
context:
space:
mode:
authorPiotr Zegar <me@piotrzegar.pl>2024-07-22 20:38:16 +0000
committerPiotr Zegar <me@piotrzegar.pl>2024-07-22 20:46:48 +0000
commitd48d4805f792adbdac58d480f890449def4964ea (patch)
tree4923041138aae6480176d3eeef9512b487917a5d /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h
parentb8461769507d5b4a8c90d3722830b802d948e8b5 (diff)
[clang-tidy][NFC] Fix tiny bug in areStatementsIdentical
Function areStatementsIdentical had an early exit when classes of stmt does not match. That if were added to speed up checking and do not calculate hash id of both objects if they are not the same type. Due to some bug, wrong pointer were used and this resulted with comparing self to self. This patch fixes this issue.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h')
0 files changed, 0 insertions, 0 deletions