diff options
| author | Louis Dionne <ldionne@apple.com> | 2018-08-03 22:36:53 +0000 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2018-08-03 22:36:53 +0000 |
| commit | 7c3492b00d99c81d4a58a8015dbe313eabaea799 (patch) | |
| tree | c19e56be99434c6fcea2d720144739d5c4f529c2 /libcxx/include/functional | |
| parent | b7d621b7b666691e6b2143fc401f0c09a5bc06d1 (diff) | |
| download | bcm5719-llvm-7c3492b00d99c81d4a58a8015dbe313eabaea799.tar.gz bcm5719-llvm-7c3492b00d99c81d4a58a8015dbe313eabaea799.zip | |
[NFC][libc++] Consistently use spaces to indent
rdar://problem/19988944
llvm-svn: 338933
Diffstat (limited to 'libcxx/include/functional')
| -rw-r--r-- | libcxx/include/functional | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/include/functional b/libcxx/include/functional index 6b70f731e1c..b91fd75421f 100644 --- a/libcxx/include/functional +++ b/libcxx/include/functional @@ -1006,7 +1006,7 @@ class _LIBCPP_TEMPLATE_VIS binary_negate { _Predicate __pred_; public: - _LIBCPP_INLINE_VISIBILITY explicit _LIBCPP_CONSTEXPR_AFTER_CXX11 + _LIBCPP_INLINE_VISIBILITY explicit _LIBCPP_CONSTEXPR_AFTER_CXX11 binary_negate(const _Predicate& __pred) : __pred_(__pred) {} _LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY @@ -1405,7 +1405,7 @@ void __throw_bad_function_call() #ifndef _LIBCPP_NO_EXCEPTIONS throw bad_function_call(); #else - _VSTD::abort(); + _VSTD::abort(); #endif } @@ -1790,7 +1790,7 @@ function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc& __a0, _Fp _ typedef __function::__func<_Fp, _Alloc, _Rp(_ArgTypes...)> _FF; typedef typename __rebind_alloc_helper<__alloc_traits, _FF>::type _Ap; _Ap __a(__a0); - if (sizeof(_FF) <= sizeof(__buf_) && + if (sizeof(_FF) <= sizeof(__buf_) && is_nothrow_copy_constructible<_Fp>::value && is_nothrow_copy_constructible<_Ap>::value) { __f_ = ::new((void*)&__buf_) _FF(_VSTD::move(__f), _Alloc(__a)); @@ -2497,7 +2497,7 @@ template<class _ForwardIterator, class _BinaryPredicate = equal_to<>> class _LIBCPP_TYPE_VIS default_searcher { public: _LIBCPP_INLINE_VISIBILITY - default_searcher(_ForwardIterator __f, _ForwardIterator __l, + default_searcher(_ForwardIterator __f, _ForwardIterator __l, _BinaryPredicate __p = _BinaryPredicate()) : __first_(__f), __last_(__l), __pred_(__p) {} |

