diff options
| author | Jakub Kuderski <kubak@google.com> | 2023-02-27 20:25:20 -0500 |
|---|---|---|
| committer | Jakub Kuderski <kubak@google.com> | 2023-02-27 20:31:09 -0500 |
| commit | da0d816567e229da01b5663e8587114d469e2b0b (patch) | |
| tree | b315d691e110ccdd6a42d22f60fc8ac77ca96f33 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 58ec6e09abe8083709802833572bca931b2d15d9 (diff) | |
[ADT] Fix definition of `adl_begin`/`adl_end` and `Iter`/`ValueOfRange`
- Make `IterOfRange` and `ValueOfRange` work with types that require
custom `begin`/`end` functions.
- Allow for `adl_begin`/`adl_end` to be used in constant-evaluated
contexts.
- Use SFINAE-friendly trailing return type deductions `adl_begin`/`adl_end` so that they are useable in template argument deduction.
- Add missing documentation comments.
This is required for future work in https://reviews.llvm.org/D144503.
Reviewed By: dblaikie, zero9178
Differential Revision: https://reviews.llvm.org/D144583
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
