diff options
| author | Zijia Zhu <piggynl@outlook.com> | 2022-08-15 13:43:59 +0800 |
|---|---|---|
| committer | Zijia Zhu <piggynl@outlook.com> | 2022-08-15 13:53:34 +0800 |
| commit | 8719faafdb3f2eb4971201a9286e24e227cc9d8f (patch) | |
| tree | 365f2e49e64b84dd684aa8bb7f18ef4c424dc144 /lldb/test/API/python_api/thread/TestThreadAPI.py | |
| parent | d797c2ffdb591d10de2964907962aaacb2e360ca (diff) | |
[ADT] Make SmallSet::insert(const T &) return const_iterator
This patch makes `SmallSet::insert(const T &)` return
`std::pair<const_iterator, bool>` instead of
`std::pair<NoneType, bool>`. This will exactly match std::set's behavior
and make deduplicating items with SmallSet easier.
Reviewed By: dblaikie, lattner
Differential Revision: https://reviews.llvm.org/D131549
Diffstat (limited to 'lldb/test/API/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions
