llvm-project/libcxx/include/__functional
Louis Dionne cb793e1a36 [libc++][NFCI] Remove uses of _LIBCPP_INLINE_VAR
All supported compilers provide support for inline variables in C++17 now.
Also, as a fly-by fix, replace some uses of _LIBCPP_CONSTEXPR by just
constexpr.

The only exception in this patch is `std::ignore`, which is provided
prior to C++17. Since it is defined in an anonymous namespace, it always
has internal linkage anyway, so using an inline variable there doesn't
provide any benefit. Instead, `inline` was removed entirely on `std::ignore`.

Differential Revision: https://reviews.llvm.org/D110243
2021-09-22 16:03:00 -04:00
..
binary_function.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
binary_negate.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
bind.h [libc++][NFCI] Remove uses of _LIBCPP_INLINE_VAR 2021-09-22 16:03:00 -04:00
bind_back.h [libc++] Use enable_if_t instead of _EnableIf 2021-09-08 09:09:28 -04:00
bind_front.h [libc++] Use enable_if_t instead of _EnableIf 2021-09-08 09:09:28 -04:00
binder1st.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
binder2nd.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
compose.h [libc++] Add the __bind_back and __compose helpers 2021-08-11 10:08:20 -04:00
default_searcher.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
function.h [libc++] Remove workarounds for [[nodebug]] not working properly on typedefs in older Clangs 2021-09-01 10:51:09 -04:00
hash.h [libc++] Remove workarounds for [[nodebug]] not working properly on typedefs in older Clangs 2021-09-01 10:51:09 -04:00
identity.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
invoke.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
is_transparent.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
mem_fn.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
mem_fun_ref.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
not_fn.h [libc++] Use enable_if_t instead of _EnableIf 2021-09-08 09:09:28 -04:00
operations.h [libc++][NFC] Format expression-equivalent wrappers consistently 2021-08-17 12:00:32 -04:00
perfect_forward.h [libc++] Use enable_if_t instead of _EnableIf 2021-09-08 09:09:28 -04:00
pointer_to_binary_function.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
pointer_to_unary_function.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
ranges_operations.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
reference_wrapper.h [libc++][NFC] Rename _EnableIf to __enable_if_t for consistency 2021-09-08 15:20:58 -04:00
unary_function.h [libc++][NFC] Remove useless _LIBCPP_PUSH_MACROS 2021-08-27 12:41:55 -04:00
unary_negate.h [libcxx][functional][modular] splices <functional> into modular headers 2021-07-01 14:01:49 -04:00
unwrap_ref.h [libc++] Remove workarounds for [[nodebug]] not working properly on typedefs in older Clangs 2021-09-01 10:51:09 -04:00
weak_result_type.h [libc++] Remove workarounds for [[nodebug]] not working properly on typedefs in older Clangs 2021-09-01 10:51:09 -04:00