diff options
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-03-21 16:53:09 -0400 |
---|---|---|
committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-03-22 11:13:33 -0400 |
commit | 2ac6babcc007ccbe7f18d71cd6188c925cf25813 (patch) | |
tree | bd5a76aebbfadf63cd6b64137c3aaef9990ec9c9 /llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp | |
parent | 772851ca4e509982c333d9724b6f8d4456df42af (diff) | |
download | llvm-2ac6babcc007ccbe7f18d71cd6188c925cf25813.zip llvm-2ac6babcc007ccbe7f18d71cd6188c925cf25813.tar.gz llvm-2ac6babcc007ccbe7f18d71cd6188c925cf25813.tar.bz2 |
[libc++] Move __libcpp_erase_if_container into <iterator>, and ADL-proof it.
The container headers don't need to include <functional> for any other reason
(or at least, they wouldn't if we moved `less` and `equal_to` out of <functional>),
so let's put `__libcpp_erase_if_container` somewhere that's common to the
containers but outside of <functional>.
Also, calling `std::erase_if(c, pred)` should not trigger ADL.
Differential Revision: https://reviews.llvm.org/D99043
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp')
0 files changed, 0 insertions, 0 deletions