aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-08-14 11:48:14 +0200
committerRaphael Isemann <teemperor@gmail.com>2020-08-14 11:58:54 +0200
commitf974d64b372c5554783369bab901de8f4dee5e02 (patch)
tree4b328184edafaef148912fe686404d17f5b17a4c /lldb/test/API/python_api
parent397b3cc9e5aa949fcaaff7743a76e889d29b723c (diff)
downloadllvm-f974d64b372c5554783369bab901de8f4dee5e02.zip
llvm-f974d64b372c5554783369bab901de8f4dee5e02.tar.gz
llvm-f974d64b372c5554783369bab901de8f4dee5e02.tar.bz2
[lldb] Deduplicate copy-pasted TypeSystemMap::GetTypeSystemForLanguage
There are two implementations for `TypeSystemMap::GetTypeSystemForLanguage` which are both identical beside one taking a `Module` and one taking a `Target` (and then passing that argument to the `TypeSystem::CreateInstance` function). This merges both implementations into one function with a lambda that wraps the different calls to `TypeSystem::CreateInstance`. Reviewed By: #lldb, JDevlieghere Differential Revision: https://reviews.llvm.org/D82537
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions