aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorAlexis Engelke <engelke@in.tum.de>2024-07-30 12:00:59 +0200
committerGitHub <noreply@github.com>2024-07-30 12:00:59 +0200
commit933b80006af5801f7fe9327d160c04b12bb8d8b8 (patch)
tree74110db410ddf86293be168aae3c6f8b90e84551 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent2b2f4ae0fbe366ebaa8811bed567a6ff76bbe3b1 (diff)
downloadllvm-933b80006af5801f7fe9327d160c04b12bb8d8b8.zip
llvm-933b80006af5801f7fe9327d160c04b12bb8d8b8.tar.gz
llvm-933b80006af5801f7fe9327d160c04b12bb8d8b8.tar.bz2
[Support][NFC] Use DomTreeBase methods in SemiNCA (#101059)
Previously, there were two implementations with identical behavior to erase a node from a dominator tree, one in the DomTreeBase and one in SemiNCAInfo. Remove the latter, as it is completely redundant. Also, use getNode() instead of a direct access into DomTreeNodes. This will simplify replacing the data structure of DomTreeNodes later on. While at it, also use swap+pop_back instead of erase when removing a node from the children vector to avoid O(n) copy. This slightly changes the order of the tree nodes after removal, but should have no impact.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions