[libcxx] r283757 - Add whitespace to make not_fn_impl more clear. NFC.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 10 08:24:11 PDT 2016
Thanks. I should have done that a while ago.
On Mon, Oct 10, 2016 at 8:37 AM, Marshall Clow via cfe-commits <
cfe-commits at lists.llvm.org> wrote:
> Author: marshall
> Date: Mon Oct 10 09:37:18 2016
> New Revision: 283757
>
> URL: http://llvm.org/viewvc/llvm-project?rev=283757&view=rev
> Log:
> Add whitespace to make not_fn_impl more clear. NFC.
>
> Modified:
> libcxx/trunk/include/functional
>
> Modified: libcxx/trunk/include/functional
> URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/
> functional?rev=283757&r1=283756&r2=283757&view=diff
> ============================================================
> ==================
> --- libcxx/trunk/include/functional (original)
> +++ libcxx/trunk/include/functional Mon Oct 10 09:37:18 2016
> @@ -2646,30 +2646,30 @@ public:
> _LIBCPP_INLINE_VISIBILITY
> auto operator()(_Args&& ...__args) &
> noexcept(noexcept(!_VSTD::invoke(__fd,
> _VSTD::forward<_Args>(__args)...)))
> - -> decltype(!_VSTD::invoke(__fd, _VSTD::forward<_Args>(__args).
> ..))
> - { return !_VSTD::invoke(__fd, _VSTD::forward<_Args>(__args)...);
> }
> + -> decltype( !_VSTD::invoke(__fd,
> _VSTD::forward<_Args>(__args)...))
> + { return !_VSTD::invoke(__fd,
> _VSTD::forward<_Args>(__args)...); }
>
> template <class ..._Args>
> _LIBCPP_INLINE_VISIBILITY
> auto operator()(_Args&& ...__args) &&
> noexcept(noexcept(!_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...)))
> - -> decltype(!_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...))
> - { return !_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...); }
> + -> decltype( !_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...))
> + { return !_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...); }
>
> template <class ..._Args>
> _LIBCPP_INLINE_VISIBILITY
> auto operator()(_Args&& ...__args) const&
> noexcept(noexcept(!_VSTD::invoke(__fd,
> _VSTD::forward<_Args>(__args)...)))
> - -> decltype(!_VSTD::invoke(__fd, _VSTD::forward<_Args>(__args).
> ..))
> - { return !_VSTD::invoke(__fd, _VSTD::forward<_Args>(__args)...);
> }
> + -> decltype( !_VSTD::invoke(__fd,
> _VSTD::forward<_Args>(__args)...))
> + { return !_VSTD::invoke(__fd,
> _VSTD::forward<_Args>(__args)...); }
>
>
> template <class ..._Args>
> _LIBCPP_INLINE_VISIBILITY
> auto operator()(_Args&& ...__args) const&&
> noexcept(noexcept(!_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...)))
> - -> decltype(!_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...))
> - { return !_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...); }
> + -> decltype( !_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...))
> + { return !_VSTD::invoke(_VSTD::move(__fd),
> _VSTD::forward<_Args>(__args)...); }
>
> private:
> template <class _RawFunc,
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161010/337e59e5/attachment.html>
More information about the cfe-commits
mailing list