diff options
| author | Craig Topper <craig.topper@sifive.com> | 2021-01-30 12:19:14 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2021-01-30 13:16:39 -0800 |
| commit | 4e04a535d8f836804d39e8861ae17d7817293c5a (patch) | |
| tree | 13b16f96ecb6a2586c21966284d3c9862109d20c /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | 26d38f6d20ff137d89cb7c891b739662de1ca508 (diff) | |
[TableGen] Avoid a couple vector copies in ExpandHwModeBasedTypes.
Use vector::swap instead of copying to a local vector and clearing
the original. We can just swap into the just created local vector
instead which will move the pointers and not the data.
Use std::move in another place to avoid a copy.
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
