diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2019-09-05 08:59:06 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2019-09-05 08:59:06 +0000 |
commit | cac96e605787ca67a1c1e7226c8db1d90ea88b6b (patch) | |
tree | 79a40978372013c8bb5a918c7f704d22554c77f1 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | e7b4d209987ab94f3ec8f88256257d02dff898a4 (diff) | |
download | bcm5719-llvm-cac96e605787ca67a1c1e7226c8db1d90ea88b6b.tar.gz bcm5719-llvm-cac96e605787ca67a1c1e7226c8db1d90ea88b6b.zip |
[Sema] Refactor LookupVisibleDecls. NFC
Summary:
We accumulated some configuration parameters for LookupVisibleDecls that
are being passed unchanged to recursive calls, e.g. LoadExternal and
IncludeDependentBases.
At the same time, there is a bunch of parameters that can change in the
recursive invocations.
It is hard to tell the difference between those groups, making the code
hard to follow.
This change introduces a helper struct and factors out the non-changing
bits into fields, making recursive calls in the implementation code easier
to read.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: riccibruno, doug.gregor, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65752
llvm-svn: 371032
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions