diff options
author | Jakub Kuderski <kubak@google.com> | 2023-03-06 11:10:59 -0500 |
---|---|---|
committer | Jakub Kuderski <kubak@google.com> | 2023-03-06 11:16:58 -0500 |
commit | e969c803818cf88fb586d58505e956fe02db8696 (patch) | |
tree | 49778f37a7462f964883f615cee3a2b68ca11421 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | 7b54a29c2e72e3e6bf7bb8cb5acfe254335584d7 (diff) | |
download | llvm-e969c803818cf88fb586d58505e956fe02db8696.zip llvm-e969c803818cf88fb586d58505e956fe02db8696.tar.gz llvm-e969c803818cf88fb586d58505e956fe02db8696.tar.bz2 |
[ADT] Clean up zip iterators. NFC.
* Use inheriting constructors declarations to avoid introducing the
`Base` typedef and duplicate constructor definitions. This should make
things cleaner, especially since `zip_common` also exposes a `Base`
typedef.
* Drop unnecessary template parameters.
* Avoid double negation in `zip_shortest`'s `operator==` and rename the
comparison function for better readability.
Reviewed By: zero9178
Differential Revision: https://reviews.llvm.org/D145332
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions