diff options
| author | Alexis Engelke <engelke@in.tum.de> | 2024-07-30 12:08:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-30 12:08:40 +0200 |
| commit | f6a928a532543a5db4ab89fccbede42f8df32f0f (patch) | |
| tree | f1fdc8ed80c0f15f9b661e35e63f5e386538ba03 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | 933b80006af5801f7fe9327d160c04b12bb8d8b8 (diff) | |
| download | llvm-f6a928a532543a5db4ab89fccbede42f8df32f0f.zip llvm-f6a928a532543a5db4ab89fccbede42f8df32f0f.tar.gz llvm-f6a928a532543a5db4ab89fccbede42f8df32f0f.tar.bz2 | |
[Support][NFC] Simplify DomTreeNodeBase::addChild (#101056)
Previously, the method would take the unique_ptr, store the pointer in
its Children vector, and then return the unique_ptr. Pass the raw
pointer as parameter instead. Also merge createChild and createNode to
avoid code duplication.
This was added in a72d6ef891707173b when introducing unique_ptr,
previously this was a source code size optimization.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
