summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>2023-12-14 13:22:32 -0300
committerGitHub <noreply@github.com>2023-12-14 13:22:32 -0300
commit1b531d54f6234488dec048fec1c5aca331bf8f3d (patch)
tree90dc06b06c414da5d92447a76212d5944ba72ec8 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
parent0d02ecc6bddc5e8c8bacbae3ab72a10467e177b4 (diff)
[InstrRef][nfc] Remove usage of unique_ptrs of arrays (#74203)
These are usually difficult to reason about, and they were being used to pass raw pointers around with array semantic (i.e., we were using operator [] on raw pointers). To put it in InstrRef terminology: we were passing a pointer to a ValueTable but using it as if it were a FuncValueTable. These could have easily been SmallVectors, which now allow us to have reference semantics in some places, as well as simpler initialization. In the future, we can use even more pass-by-reference with some extra changes in the code.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions