diff --git a/libcxx/include/__availability b/libcxx/include/__availability index cc3b6fabdab1..59d92fffd236 100644 --- a/libcxx/include/__availability +++ b/libcxx/include/__availability @@ -246,4 +246,4 @@ # define _LIBCPP_AVAILABILITY_THROW_BAD_VARIANT_ACCESS _LIBCPP_AVAILABILITY_BAD_VARIANT_ACCESS #endif -#endif // _LIBCPP___AVAILABILITY +#endif // _LIBCPP___AVAILABILITY diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference index 9cfb4b84e653..aa22d5d17837 100644 --- a/libcxx/include/__bit_reference +++ b/libcxx/include/__bit_reference @@ -1302,4 +1302,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___BIT_REFERENCE +#endif // _LIBCPP___BIT_REFERENCE diff --git a/libcxx/include/__bits b/libcxx/include/__bits index c23203b057b1..b34766a85cbb 100644 --- a/libcxx/include/__bits +++ b/libcxx/include/__bits @@ -142,4 +142,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP__BITS +#endif // _LIBCPP__BITS diff --git a/libcxx/include/__config b/libcxx/include/__config index 04dc90e67c48..b0de01e9644b 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -56,7 +56,7 @@ # else # define _LIBCPP_STD_VER 21 // current year, or date of c++2b ratification # endif -#endif // _LIBCPP_STD_VER +#endif // _LIBCPP_STD_VER #if defined(__ELF__) # define _LIBCPP_OBJECT_FORMAT_ELF 1 @@ -238,13 +238,13 @@ # if __LITTLE_ENDIAN__ # define _LIBCPP_LITTLE_ENDIAN # endif // __LITTLE_ENDIAN__ -#endif // __LITTLE_ENDIAN__ +#endif // __LITTLE_ENDIAN__ #ifdef __BIG_ENDIAN__ # if __BIG_ENDIAN__ # define _LIBCPP_BIG_ENDIAN # endif // __BIG_ENDIAN__ -#endif // __BIG_ENDIAN__ +#endif // __BIG_ENDIAN__ #ifdef __BYTE_ORDER__ # if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ @@ -265,7 +265,7 @@ # ifndef __LONG_LONG_SUPPORTED # define _LIBCPP_HAS_NO_LONG_LONG # endif // __LONG_LONG_SUPPORTED -#endif // __FreeBSD__ +#endif // __FreeBSD__ #if defined(__NetBSD__) || defined(__OpenBSD__) # include @@ -274,7 +274,7 @@ # else // _BYTE_ORDER == _LITTLE_ENDIAN # define _LIBCPP_BIG_ENDIAN # endif // _BYTE_ORDER == _LITTLE_ENDIAN -#endif // defined(__NetBSD__) || defined(__OpenBSD__) +#endif // defined(__NetBSD__) || defined(__OpenBSD__) #if defined(_WIN32) # define _LIBCPP_WIN32API @@ -343,7 +343,7 @@ # else // __BYTE_ORDER == __BIG_ENDIAN # error unable to determine endian # endif -#endif // !defined(_LIBCPP_LITTLE_ENDIAN) && !defined(_LIBCPP_BIG_ENDIAN) +#endif // !defined(_LIBCPP_LITTLE_ENDIAN) && !defined(_LIBCPP_BIG_ENDIAN) #if __has_attribute(__no_sanitize__) && !defined(_LIBCPP_COMPILER_GCC) # define _LIBCPP_NO_CFI __attribute__((__no_sanitize__("cfi"))) @@ -821,7 +821,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD #ifdef _LIBCPP_HAS_NO_UNICODE_CHARS typedef unsigned short char16_t; typedef unsigned int char32_t; -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS #ifndef __SIZEOF_INT128__ #define _LIBCPP_HAS_NO_INT128 @@ -830,7 +830,7 @@ typedef unsigned int char32_t; #ifdef _LIBCPP_CXX03_LANG # define static_assert(...) _Static_assert(__VA_ARGS__) # define decltype(...) __decltype(__VA_ARGS__) -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #ifdef _LIBCPP_CXX03_LANG # define _LIBCPP_CONSTEXPR @@ -888,7 +888,7 @@ typedef unsigned int char32_t; #else // _LIBCPP_HAS_NO_STRONG_ENUMS # define _LIBCPP_DECLARE_STRONG_ENUM(x) enum class _LIBCPP_ENUM_VIS x # define _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(x) -#endif // _LIBCPP_HAS_NO_STRONG_ENUMS +#endif // _LIBCPP_HAS_NO_STRONG_ENUMS // _LIBCPP_DEBUG potential values: // - undefined: No assertions. This is the default. @@ -1293,7 +1293,7 @@ extern "C" _LIBCPP_FUNC_VIS void __sanitizer_annotate_contiguous_container( # else # define _LIBCPP_THREAD_SAFETY_ANNOTATION(x) # endif -#endif // _LIBCPP_THREAD_SAFETY_ANNOTATION +#endif // _LIBCPP_THREAD_SAFETY_ANNOTATION #if __has_attribute(require_constant_initialization) # define _LIBCPP_SAFE_STATIC __attribute__((__require_constant_initialization__)) diff --git a/libcxx/include/__debug b/libcxx/include/__debug index 7b5bfb3f8378..771e4316320b 100644 --- a/libcxx/include/__debug +++ b/libcxx/include/__debug @@ -270,4 +270,4 @@ _LIBCPP_FUNC_VIS const __libcpp_db* __get_const_db(); _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_DEBUG_H +#endif // _LIBCPP_DEBUG_H diff --git a/libcxx/include/__errc b/libcxx/include/__errc index a8ad29f364ac..81da2e1970c8 100644 --- a/libcxx/include/__errc +++ b/libcxx/include/__errc @@ -214,4 +214,4 @@ _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(errc) _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP___ERRC +#endif // _LIBCPP___ERRC diff --git a/libcxx/include/__functional_03 b/libcxx/include/__functional_03 index 9616480611dc..c918fdfd1ea6 100644 --- a/libcxx/include/__functional_03 +++ b/libcxx/include/__functional_03 @@ -36,7 +36,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const = 0; virtual const std::type_info& target_type() const = 0; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -55,7 +55,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const = 0; virtual const std::type_info& target_type() const = 0; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -74,7 +74,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const = 0; virtual const std::type_info& target_type() const = 0; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -93,7 +93,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const = 0; virtual const std::type_info& target_type() const = 0; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template class __func; @@ -114,7 +114,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const; virtual const std::type_info& target_type() const; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -181,7 +181,7 @@ __func<_Fp, _Alloc, _Rp()>::target_type() const return typeid(_Fp); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template class __func<_Fp, _Alloc, _Rp(_A0)> @@ -200,7 +200,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const; virtual const std::type_info& target_type() const; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -267,7 +267,7 @@ __func<_Fp, _Alloc, _Rp(_A0)>::target_type() const return typeid(_Fp); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template class __func<_Fp, _Alloc, _Rp(_A0, _A1)> @@ -286,7 +286,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const; virtual const std::type_info& target_type() const; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -353,7 +353,7 @@ __func<_Fp, _Alloc, _Rp(_A0, _A1)>::target_type() const return typeid(_Fp); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template class __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)> @@ -372,7 +372,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const; virtual const std::type_info& target_type() const; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -439,7 +439,7 @@ __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::target_type() const return typeid(_Fp); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI } // __function @@ -510,7 +510,7 @@ public: const std::type_info& target_type() const; template _Tp* target(); template const _Tp* target() const; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -720,7 +720,7 @@ function<_Rp()>::target() const return (const _Tp*)__f_->target(typeid(_Tp)); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template class _LIBCPP_TEMPLATE_VIS function<_Rp(_A0)> @@ -790,7 +790,7 @@ public: const std::type_info& target_type() const; template _Tp* target(); template const _Tp* target() const; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -1000,7 +1000,7 @@ function<_Rp(_A0)>::target() const return (const _Tp*)__f_->target(typeid(_Tp)); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template class _LIBCPP_TEMPLATE_VIS function<_Rp(_A0, _A1)> @@ -1070,7 +1070,7 @@ public: const std::type_info& target_type() const; template _Tp* target(); template const _Tp* target() const; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -1280,7 +1280,7 @@ function<_Rp(_A0, _A1)>::target() const return (const _Tp*)__f_->target(typeid(_Tp)); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template class _LIBCPP_TEMPLATE_VIS function<_Rp(_A0, _A1, _A2)> @@ -1349,7 +1349,7 @@ public: const std::type_info& target_type() const; template _Tp* target(); template const _Tp* target() const; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -1560,7 +1560,7 @@ function<_Rp(_A0, _A1, _A2)>::target() const return (const _Tp*)__f_->target(typeid(_Tp)); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template inline _LIBCPP_INLINE_VISIBILITY @@ -1588,4 +1588,4 @@ void swap(function<_Fp>& __x, function<_Fp>& __y) {return __x.swap(__y);} -#endif // _LIBCPP_FUNCTIONAL_03 +#endif // _LIBCPP_FUNCTIONAL_03 diff --git a/libcxx/include/__functional_base b/libcxx/include/__functional_base index 5e98eba96a64..c91252909ee8 100644 --- a/libcxx/include/__functional_base +++ b/libcxx/include/__functional_base @@ -305,7 +305,7 @@ struct __invoke_return #include <__functional_base_03> -#endif // !defined(_LIBCPP_CXX03_LANG) +#endif // !defined(_LIBCPP_CXX03_LANG) template ::value> @@ -663,7 +663,7 @@ void __user_alloc_construct_impl (integral_constant, _Tp *__storage, con new (__storage) _Tp (_VSTD::forward<_Args>(__args)..., __a); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 14 @@ -679,4 +679,4 @@ invoke(_Fn&& __f, _Args&&... __args) _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_FUNCTIONAL_BASE +#endif // _LIBCPP_FUNCTIONAL_BASE diff --git a/libcxx/include/__functional_base_03 b/libcxx/include/__functional_base_03 index 9b08bd26a8fd..21b39a4bf8f0 100644 --- a/libcxx/include/__functional_base_03 +++ b/libcxx/include/__functional_base_03 @@ -220,4 +220,4 @@ template struct __invoke_return2<_Ret _Class::*, _A0, _A1, _A2> { typedef typename __enable_invoke<_Ret _Class::*, _A0>::type type; }; -#endif // _LIBCPP_FUNCTIONAL_BASE_03 +#endif // _LIBCPP_FUNCTIONAL_BASE_03 diff --git a/libcxx/include/__hash_table b/libcxx/include/__hash_table index 521ebbf2c45f..357237631c8f 100644 --- a/libcxx/include/__hash_table +++ b/libcxx/include/__hash_table @@ -317,7 +317,7 @@ public: } return *this; } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 _LIBCPP_INLINE_VISIBILITY reference operator*() const { @@ -438,7 +438,7 @@ public: } return *this; } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 _LIBCPP_INLINE_VISIBILITY reference operator*() const { @@ -550,7 +550,7 @@ public: } return *this; } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 _LIBCPP_INLINE_VISIBILITY reference operator*() const { @@ -695,7 +695,7 @@ public: } return *this; } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 _LIBCPP_INLINE_VISIBILITY reference operator*() const { @@ -1337,7 +1337,7 @@ public: bool __addable(const const_iterator* __i, ptrdiff_t __n) const; bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const; -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 private: void __rehash(size_type __n); @@ -1645,7 +1645,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__move_assign( #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS const_iterator __i = __u.begin(); while (__cache != nullptr && __u.size() != 0) { @@ -1662,7 +1662,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__move_assign( __deallocate_node(__cache); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __deallocate_node(__cache); } const_iterator __i = __u.begin(); @@ -1707,7 +1707,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__assign_unique(_InputIterator __first #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (; __cache != nullptr && __first != __last; ++__first) { __cache->__upcast()->__value_ = *__first; @@ -1722,7 +1722,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__assign_unique(_InputIterator __first __deallocate_node(__cache); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __deallocate_node(__cache); } for (; __first != __last; ++__first) @@ -1747,7 +1747,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__assign_multi(_InputIterator __first, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (; __cache != nullptr && __first != __last; ++__first) { __cache->__upcast()->__value_ = *__first; @@ -1762,7 +1762,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__assign_multi(_InputIterator __first, __deallocate_node(__cache); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __deallocate_node(__cache); } for (; __first != __last; ++__first) @@ -2299,7 +2299,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__node_handle_merge_multi( __node_insert_multi_perform(__src_ptr, __pn); } } -#endif // _LIBCPP_STD_VER > 14 +#endif // _LIBCPP_STD_VER > 14 template void @@ -2804,10 +2804,10 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__subscriptable(const const_iterator*, return false; } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP__HASH_TABLE +#endif // _LIBCPP__HASH_TABLE diff --git a/libcxx/include/__locale b/libcxx/include/__locale index 77e5faab2676..595d8d934a73 100644 --- a/libcxx/include/__locale +++ b/libcxx/include/__locale @@ -1756,4 +1756,4 @@ private: _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP___LOCALE +#endif // _LIBCPP___LOCALE diff --git a/libcxx/include/__memory/addressof.h b/libcxx/include/__memory/addressof.h index 6cba9125ff10..5efdb5878625 100644 --- a/libcxx/include/__memory/addressof.h +++ b/libcxx/include/__memory/addressof.h @@ -93,4 +93,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_ADDRESSOF_H +#endif // _LIBCPP___MEMORY_ADDRESSOF_H diff --git a/libcxx/include/__memory/allocation_guard.h b/libcxx/include/__memory/allocation_guard.h index ea1d26456551..9d8d2d6e1a8f 100644 --- a/libcxx/include/__memory/allocation_guard.h +++ b/libcxx/include/__memory/allocation_guard.h @@ -85,4 +85,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_ALLOCATION_GUARD_H +#endif // _LIBCPP___MEMORY_ALLOCATION_GUARD_H diff --git a/libcxx/include/__memory/allocator.h b/libcxx/include/__memory/allocator.h index 46e667243ec1..ddd411c41ad4 100644 --- a/libcxx/include/__memory/allocator.h +++ b/libcxx/include/__memory/allocator.h @@ -224,4 +224,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_ALLOCATOR_H +#endif // _LIBCPP___MEMORY_ALLOCATOR_H diff --git a/libcxx/include/__memory/allocator_traits.h b/libcxx/include/__memory/allocator_traits.h index bcc8356e3836..18b876a3212d 100644 --- a/libcxx/include/__memory/allocator_traits.h +++ b/libcxx/include/__memory/allocator_traits.h @@ -254,7 +254,7 @@ struct _LIBCPP_TEMPLATE_VIS allocator_traits struct rebind_traits { using other = allocator_traits::other>; }; -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 static pointer allocate(allocator_type& __a, size_type __n) { @@ -399,4 +399,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_ALLOCATOR_TRAITS_H +#endif // _LIBCPP___MEMORY_ALLOCATOR_TRAITS_H diff --git a/libcxx/include/__memory/auto_ptr.h b/libcxx/include/__memory/auto_ptr.h index c12698efe00e..58ff708a8f44 100644 --- a/libcxx/include/__memory/auto_ptr.h +++ b/libcxx/include/__memory/auto_ptr.h @@ -82,4 +82,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_AUTO_PTR_H +#endif // _LIBCPP___MEMORY_AUTO_PTR_H diff --git a/libcxx/include/__memory/compressed_pair.h b/libcxx/include/__memory/compressed_pair.h index 0967d64ffe67..fcdfaf2146b6 100644 --- a/libcxx/include/__memory/compressed_pair.h +++ b/libcxx/include/__memory/compressed_pair.h @@ -197,4 +197,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_COMPRESSED_PAIR_H +#endif // _LIBCPP___MEMORY_COMPRESSED_PAIR_H diff --git a/libcxx/include/__memory/construct_at.h b/libcxx/include/__memory/construct_at.h index 1fef3260feb3..741b5c291c50 100644 --- a/libcxx/include/__memory/construct_at.h +++ b/libcxx/include/__memory/construct_at.h @@ -55,4 +55,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_CONSTRUCT_AT_H +#endif // _LIBCPP___MEMORY_CONSTRUCT_AT_H diff --git a/libcxx/include/__memory/pointer_safety.h b/libcxx/include/__memory/pointer_safety.h index 5937e7c59edc..a32ffc4d0eaf 100644 --- a/libcxx/include/__memory/pointer_safety.h +++ b/libcxx/include/__memory/pointer_safety.h @@ -83,4 +83,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_POINTER_SAFETY_H +#endif // _LIBCPP___MEMORY_POINTER_SAFETY_H diff --git a/libcxx/include/__memory/pointer_traits.h b/libcxx/include/__memory/pointer_traits.h index c26a7824c6dd..439c658b5076 100644 --- a/libcxx/include/__memory/pointer_traits.h +++ b/libcxx/include/__memory/pointer_traits.h @@ -120,7 +120,7 @@ struct _LIBCPP_TEMPLATE_VIS pointer_traits #else template struct rebind {typedef typename __pointer_traits_rebind::type other;}; -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG private: struct __nat {}; @@ -230,4 +230,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_POINTER_TRAITS_H +#endif // _LIBCPP___MEMORY_POINTER_TRAITS_H diff --git a/libcxx/include/__memory/raw_storage_iterator.h b/libcxx/include/__memory/raw_storage_iterator.h index b4842f23c2dc..e2ae31397a8a 100644 --- a/libcxx/include/__memory/raw_storage_iterator.h +++ b/libcxx/include/__memory/raw_storage_iterator.h @@ -56,4 +56,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_RAW_STORAGE_ITERATOR_H +#endif // _LIBCPP___MEMORY_RAW_STORAGE_ITERATOR_H diff --git a/libcxx/include/__memory/shared_ptr.h b/libcxx/include/__memory/shared_ptr.h index e4c267b2ecad..e652cecc03dc 100644 --- a/libcxx/include/__memory/shared_ptr.h +++ b/libcxx/include/__memory/shared_ptr.h @@ -253,7 +253,7 @@ __shared_ptr_pointer<_Tp, _Dp, _Alloc>::__get_deleter(const type_info& __t) cons return __t == typeid(_Dp) ? _VSTD::addressof(__data_.first().second()) : nullptr; } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template void @@ -620,7 +620,7 @@ public: {return static_cast<_Dp*>(__cntrl_ ? const_cast(__cntrl_->__get_deleter(typeid(_Dp))) : nullptr);} -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template static shared_ptr<_Tp> @@ -715,7 +715,7 @@ shared_ptr<_Tp>::shared_ptr(_Yp* __p, _Dp __d, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typedef typename __shared_ptr_default_allocator<_Yp>::type _AllocT; typedef __shared_ptr_pointer<_Yp*, _Dp, _AllocT > _CntrlBlk; #ifndef _LIBCPP_CXX03_LANG @@ -731,7 +731,7 @@ shared_ptr<_Tp>::shared_ptr(_Yp* __p, _Dp __d, __d(__p); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -742,7 +742,7 @@ shared_ptr<_Tp>::shared_ptr(nullptr_t __p, _Dp __d) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typedef typename __shared_ptr_default_allocator<_Tp>::type _AllocT; typedef __shared_ptr_pointer _CntrlBlk; #ifndef _LIBCPP_CXX03_LANG @@ -757,7 +757,7 @@ shared_ptr<_Tp>::shared_ptr(nullptr_t __p, _Dp __d) __d(__p); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -769,7 +769,7 @@ shared_ptr<_Tp>::shared_ptr(_Yp* __p, _Dp __d, _Alloc __a, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typedef __shared_ptr_pointer<_Yp*, _Dp, _Alloc> _CntrlBlk; typedef typename __allocator_traits_rebind<_Alloc, _CntrlBlk>::type _A2; typedef __allocator_destructor<_A2> _D2; @@ -790,7 +790,7 @@ shared_ptr<_Tp>::shared_ptr(_Yp* __p, _Dp __d, _Alloc __a, __d(__p); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -801,7 +801,7 @@ shared_ptr<_Tp>::shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typedef __shared_ptr_pointer _CntrlBlk; typedef typename __allocator_traits_rebind<_Alloc, _CntrlBlk>::type _A2; typedef __allocator_destructor<_A2> _D2; @@ -821,7 +821,7 @@ shared_ptr<_Tp>::shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a) __d(__p); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -1315,7 +1315,7 @@ get_deleter(const shared_ptr<_Tp>& __p) _NOEXCEPT return __p.template __get_deleter<_Dp>(); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS weak_ptr @@ -1846,10 +1846,10 @@ atomic_compare_exchange_weak_explicit(shared_ptr<_Tp>* __p, shared_ptr<_Tp>* __v return atomic_compare_exchange_weak(__p, __v, __w); } -#endif // !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER) +#endif // !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER) _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_SHARED_PTR_H +#endif // _LIBCPP___MEMORY_SHARED_PTR_H diff --git a/libcxx/include/__memory/temporary_buffer.h b/libcxx/include/__memory/temporary_buffer.h index cf3794740387..7034a4c16a40 100644 --- a/libcxx/include/__memory/temporary_buffer.h +++ b/libcxx/include/__memory/temporary_buffer.h @@ -80,4 +80,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_TEMPORARY_BUFFER_H +#endif // _LIBCPP___MEMORY_TEMPORARY_BUFFER_H diff --git a/libcxx/include/__memory/uninitialized_algorithms.h b/libcxx/include/__memory/uninitialized_algorithms.h index 0873ba340e1b..39edabbd8e4f 100644 --- a/libcxx/include/__memory/uninitialized_algorithms.h +++ b/libcxx/include/__memory/uninitialized_algorithms.h @@ -258,4 +258,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_UNINITIALIZED_ALGORITHMS_H +#endif // _LIBCPP___MEMORY_UNINITIALIZED_ALGORITHMS_H diff --git a/libcxx/include/__memory/unique_ptr.h b/libcxx/include/__memory/unique_ptr.h index 5527eda2ae33..8148fad73da3 100644 --- a/libcxx/include/__memory/unique_ptr.h +++ b/libcxx/include/__memory/unique_ptr.h @@ -738,7 +738,7 @@ template typename __unique_if<_Tp>::__unique_array_known_bound make_unique(_Args&&...) = delete; -#endif // _LIBCPP_STD_VER > 11 +#endif // _LIBCPP_STD_VER > 11 template struct _LIBCPP_TEMPLATE_VIS hash; @@ -764,4 +764,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MEMORY_UNIQUE_PTR_H +#endif // _LIBCPP___MEMORY_UNIQUE_PTR_H diff --git a/libcxx/include/__mutex_base b/libcxx/include/__mutex_base index 96454ace9f4d..05a08a55846e 100644 --- a/libcxx/include/__mutex_base +++ b/libcxx/include/__mutex_base @@ -526,4 +526,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___MUTEX_BASE +#endif // _LIBCPP___MUTEX_BASE diff --git a/libcxx/include/__nullptr b/libcxx/include/__nullptr index 45529a710b63..e14751164237 100644 --- a/libcxx/include/__nullptr +++ b/libcxx/include/__nullptr @@ -56,6 +56,6 @@ namespace std typedef decltype(nullptr) nullptr_t; } -#endif // _LIBCPP_HAS_NO_NULLPTR +#endif // _LIBCPP_HAS_NO_NULLPTR -#endif // _LIBCPP_NULLPTR +#endif // _LIBCPP_NULLPTR diff --git a/libcxx/include/__split_buffer b/libcxx/include/__split_buffer index ed8dc8bc1bd8..3e8173c179f4 100644 --- a/libcxx/include/__split_buffer +++ b/libcxx/include/__split_buffer @@ -444,7 +444,7 @@ __split_buffer<_Tp, _Allocator>::shrink_to_fit() _NOEXCEPT #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __split_buffer __t(size(), 0, __alloc()); __t.__construct_at_end(move_iterator(__begin_), move_iterator(__end_)); @@ -458,7 +458,7 @@ __split_buffer<_Tp, _Allocator>::shrink_to_fit() _NOEXCEPT catch (...) { } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -625,4 +625,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_SPLIT_BUFFER +#endif // _LIBCPP_SPLIT_BUFFER diff --git a/libcxx/include/__sso_allocator b/libcxx/include/__sso_allocator index c50ae24c9212..ed993372bc49 100644 --- a/libcxx/include/__sso_allocator +++ b/libcxx/include/__sso_allocator @@ -74,4 +74,4 @@ public: _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP___SSO_ALLOCATOR +#endif // _LIBCPP___SSO_ALLOCATOR diff --git a/libcxx/include/__std_stream b/libcxx/include/__std_stream index 5a9a470a9787..c6e7929ffd83 100644 --- a/libcxx/include/__std_stream +++ b/libcxx/include/__std_stream @@ -358,4 +358,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___STD_STREAM +#endif // _LIBCPP___STD_STREAM diff --git a/libcxx/include/__string b/libcxx/include/__string index 350d0ca0970a..a95827709717 100644 --- a/libcxx/include/__string +++ b/libcxx/include/__string @@ -889,7 +889,7 @@ char_traits::assign(char_type* __s, size_t __n, char_type __a) _NOEXCE return __r; } -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS // helper fns for basic_string and string_view @@ -1134,4 +1134,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___STRING +#endif // _LIBCPP___STRING diff --git a/libcxx/include/__tree b/libcxx/include/__tree index 0f6e4ec37921..439992ee21fe 100644 --- a/libcxx/include/__tree +++ b/libcxx/include/__tree @@ -2410,7 +2410,7 @@ __tree<_Tp, _Compare, _Allocator>::__node_handle_merge_multi(_Tree& __source) } } -#endif // _LIBCPP_STD_VER > 14 +#endif // _LIBCPP_STD_VER > 14 template typename __tree<_Tp, _Compare, _Allocator>::iterator @@ -2743,4 +2743,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP___TREE +#endif // _LIBCPP___TREE diff --git a/libcxx/include/__tuple b/libcxx/include/__tuple index 4da9ec55f354..082ec869eec7 100644 --- a/libcxx/include/__tuple +++ b/libcxx/include/__tuple @@ -134,7 +134,7 @@ template<> struct __parity<7> { template struct __pmake : __repeat @@ -548,4 +548,4 @@ struct __sfinae_assign_base { _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP___TUPLE +#endif // _LIBCPP___TUPLE diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index 4c139296a816..60181224ea11 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm @@ -1674,7 +1674,7 @@ struct __unwrap_iter_impl<_Iter, true> { } }; -#endif // _LIBCPP_DEBUG_LEVEL < 2 +#endif // _LIBCPP_DEBUG_LEVEL < 2 template > inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR @@ -2620,7 +2620,7 @@ min(initializer_list<_Tp> __t) return *_VSTD::min_element(__t.begin(), __t.end(), __less<_Tp>()); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG // max_element @@ -2693,7 +2693,7 @@ max(initializer_list<_Tp> __t) return *_VSTD::max_element(__t.begin(), __t.end(), __less<_Tp>()); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 14 // clamp @@ -2850,7 +2850,7 @@ minmax(initializer_list<_Tp> __t) return _VSTD::minmax(__t, __less<_Tp>()); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG // random_shuffle @@ -5859,4 +5859,4 @@ _LIBCPP_POP_MACROS # include <__pstl_algorithm> #endif -#endif // _LIBCPP_ALGORITHM +#endif // _LIBCPP_ALGORITHM diff --git a/libcxx/include/array b/libcxx/include/array index 9a479f7cd1f7..b56fcfe6c63a 100644 --- a/libcxx/include/array +++ b/libcxx/include/array @@ -520,4 +520,4 @@ to_array(_Tp(&&__arr)[_Size]) noexcept(is_nothrow_move_constructible_v<_Tp>) { _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_ARRAY +#endif // _LIBCPP_ARRAY diff --git a/libcxx/include/atomic b/libcxx/include/atomic index 3423642d1b60..eaff5368e020 100644 --- a/libcxx/include/atomic +++ b/libcxx/include/atomic @@ -2801,4 +2801,4 @@ typedef atomic<__libcpp_unsigned_lock_free> atomic_unsigned_lock_free; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_ATOMIC +#endif // _LIBCPP_ATOMIC diff --git a/libcxx/include/bitset b/libcxx/include/bitset index 00503fe1c141..a40d76296219 100644 --- a/libcxx/include/bitset +++ b/libcxx/include/bitset @@ -202,7 +202,7 @@ private: void __init(unsigned long long __v, false_type) _NOEXCEPT; _LIBCPP_INLINE_VISIBILITY void __init(unsigned long long __v, true_type) _NOEXCEPT; -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG unsigned long to_ulong(false_type) const; _LIBCPP_INLINE_VISIBILITY unsigned long to_ulong(true_type) const; @@ -258,7 +258,7 @@ __bitset<_N_words, _Size>::__init(unsigned long long __v, true_type) _NOEXCEPT _VSTD::fill(__first_ + 1, __first_ + sizeof(__first_)/sizeof(__first_[0]), __storage_type(0)); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -1106,4 +1106,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_BITSET +#endif // _LIBCPP_BITSET diff --git a/libcxx/include/ccomplex b/libcxx/include/ccomplex index 0d2e0f5a0f2c..cea450912841 100644 --- a/libcxx/include/ccomplex +++ b/libcxx/include/ccomplex @@ -25,4 +25,4 @@ // hh 080623 Created -#endif // _LIBCPP_CCOMPLEX +#endif // _LIBCPP_CCOMPLEX diff --git a/libcxx/include/cctype b/libcxx/include/cctype index 55fc9ebc66ce..3b06928c41f7 100644 --- a/libcxx/include/cctype +++ b/libcxx/include/cctype @@ -117,4 +117,4 @@ using ::toupper; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CCTYPE +#endif // _LIBCPP_CCTYPE diff --git a/libcxx/include/cerrno b/libcxx/include/cerrno index a9268a281f4e..1388d7eac226 100644 --- a/libcxx/include/cerrno +++ b/libcxx/include/cerrno @@ -29,4 +29,4 @@ Macros: #pragma GCC system_header #endif -#endif // _LIBCPP_CERRNO +#endif // _LIBCPP_CERRNO diff --git a/libcxx/include/cfenv b/libcxx/include/cfenv index 6cd91db5a463..4da04d3b282a 100644 --- a/libcxx/include/cfenv +++ b/libcxx/include/cfenv @@ -78,4 +78,4 @@ using ::feupdateenv; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CFENV +#endif // _LIBCPP_CFENV diff --git a/libcxx/include/cfloat b/libcxx/include/cfloat index da22c6f60a2a..77ff5261e3a0 100644 --- a/libcxx/include/cfloat +++ b/libcxx/include/cfloat @@ -76,4 +76,4 @@ Macros: #pragma GCC system_header #endif -#endif // _LIBCPP_CFLOAT +#endif // _LIBCPP_CFLOAT diff --git a/libcxx/include/charconv b/libcxx/include/charconv index 6397c56f61d0..77cc2684f85e 100644 --- a/libcxx/include/charconv +++ b/libcxx/include/charconv @@ -659,10 +659,10 @@ from_chars(const char* __first, const char* __last, _Tp& __value, int __base) return __from_chars_integral(__first, __last, __value, __base); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_CHARCONV +#endif // _LIBCPP_CHARCONV diff --git a/libcxx/include/chrono b/libcxx/include/chrono index d6a0de87a1a5..7823c8a73074 100644 --- a/libcxx/include/chrono +++ b/libcxx/include/chrono @@ -2965,4 +2965,4 @@ _LIBCPP_END_NAMESPACE_FILESYSTEM _LIBCPP_POP_MACROS -#endif // _LIBCPP_CHRONO +#endif // _LIBCPP_CHRONO diff --git a/libcxx/include/cinttypes b/libcxx/include/cinttypes index 55af85cc395d..56fcf6383c24 100644 --- a/libcxx/include/cinttypes +++ b/libcxx/include/cinttypes @@ -254,4 +254,4 @@ using::wcstoumax; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CINTTYPES +#endif // _LIBCPP_CINTTYPES diff --git a/libcxx/include/ciso646 b/libcxx/include/ciso646 index 172f1676ad9b..c37f6379746b 100644 --- a/libcxx/include/ciso646 +++ b/libcxx/include/ciso646 @@ -21,4 +21,4 @@ #pragma GCC system_header #endif -#endif // _LIBCPP_CISO646 +#endif // _LIBCPP_CISO646 diff --git a/libcxx/include/climits b/libcxx/include/climits index 43eb2d3f1520..217ec6286e8c 100644 --- a/libcxx/include/climits +++ b/libcxx/include/climits @@ -44,4 +44,4 @@ Macros: #pragma GCC system_header #endif -#endif // _LIBCPP_CLIMITS +#endif // _LIBCPP_CLIMITS diff --git a/libcxx/include/clocale b/libcxx/include/clocale index bff4e92f99ff..06a529cafc13 100644 --- a/libcxx/include/clocale +++ b/libcxx/include/clocale @@ -51,4 +51,4 @@ using ::localeconv; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CLOCALE +#endif // _LIBCPP_CLOCALE diff --git a/libcxx/include/cmath b/libcxx/include/cmath index 1efd4e47c22c..5f413666065a 100644 --- a/libcxx/include/cmath +++ b/libcxx/include/cmath @@ -672,4 +672,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_CMATH +#endif // _LIBCPP_CMATH diff --git a/libcxx/include/codecvt b/libcxx/include/codecvt index 2befa1b0af72..ec7d4a780958 100644 --- a/libcxx/include/codecvt +++ b/libcxx/include/codecvt @@ -570,4 +570,4 @@ public: _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CODECVT +#endif // _LIBCPP_CODECVT diff --git a/libcxx/include/complex b/libcxx/include/complex index 93b7bb5dd53e..08249ae005cf 100644 --- a/libcxx/include/complex +++ b/libcxx/include/complex @@ -1490,4 +1490,4 @@ inline namespace literals _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_COMPLEX +#endif // _LIBCPP_COMPLEX diff --git a/libcxx/include/complex.h b/libcxx/include/complex.h index b78733b8093a..cdf97ac4671e 100644 --- a/libcxx/include/complex.h +++ b/libcxx/include/complex.h @@ -31,6 +31,6 @@ #include_next -#endif // __cplusplus +#endif // __cplusplus -#endif // _LIBCPP_COMPLEX_H +#endif // _LIBCPP_COMPLEX_H diff --git a/libcxx/include/condition_variable b/libcxx/include/condition_variable index 8c733448e3c5..a33250c67794 100644 --- a/libcxx/include/condition_variable +++ b/libcxx/include/condition_variable @@ -265,4 +265,4 @@ _LIBCPP_END_NAMESPACE_STD #endif // !_LIBCPP_HAS_NO_THREADS -#endif // _LIBCPP_CONDITION_VARIABLE +#endif // _LIBCPP_CONDITION_VARIABLE diff --git a/libcxx/include/csetjmp b/libcxx/include/csetjmp index ed94b50d1618..c360ce3bf65d 100644 --- a/libcxx/include/csetjmp +++ b/libcxx/include/csetjmp @@ -44,4 +44,4 @@ using ::longjmp; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CSETJMP +#endif // _LIBCPP_CSETJMP diff --git a/libcxx/include/csignal b/libcxx/include/csignal index 99abd02de066..4cb070735f69 100644 --- a/libcxx/include/csignal +++ b/libcxx/include/csignal @@ -54,4 +54,4 @@ using ::raise; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CSIGNAL +#endif // _LIBCPP_CSIGNAL diff --git a/libcxx/include/cstdarg b/libcxx/include/cstdarg index e8147d496a77..da64667a7109 100644 --- a/libcxx/include/cstdarg +++ b/libcxx/include/cstdarg @@ -44,4 +44,4 @@ using ::va_list; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CSTDARG +#endif // _LIBCPP_CSTDARG diff --git a/libcxx/include/cstdbool b/libcxx/include/cstdbool index fad47141476c..7708537ca8e0 100644 --- a/libcxx/include/cstdbool +++ b/libcxx/include/cstdbool @@ -28,4 +28,4 @@ Macros: #undef __bool_true_false_are_defined #define __bool_true_false_are_defined 1 -#endif // _LIBCPP_CSTDBOOL +#endif // _LIBCPP_CSTDBOOL diff --git a/libcxx/include/cstddef b/libcxx/include/cstddef index ee86d6d2f6b4..bc0033012c60 100644 --- a/libcxx/include/cstddef +++ b/libcxx/include/cstddef @@ -65,7 +65,7 @@ template <> struct __libcpp_is_integral { enum { va #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS template <> struct __libcpp_is_integral { enum { value = 1 }; }; template <> struct __libcpp_is_integral { enum { value = 1 }; }; -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS template <> struct __libcpp_is_integral { enum { value = 1 }; }; template <> struct __libcpp_is_integral { enum { value = 1 }; }; template <> struct __libcpp_is_integral { enum { value = 1 }; }; @@ -158,4 +158,4 @@ template > #endif -#endif // _LIBCPP_CSTDDEF +#endif // _LIBCPP_CSTDDEF diff --git a/libcxx/include/cstdint b/libcxx/include/cstdint index f72fa067373e..b3ba5536cb48 100644 --- a/libcxx/include/cstdint +++ b/libcxx/include/cstdint @@ -187,4 +187,4 @@ using::uintmax_t; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CSTDINT +#endif // _LIBCPP_CSTDINT diff --git a/libcxx/include/cstdio b/libcxx/include/cstdio index d0492a083505..10705aa93404 100644 --- a/libcxx/include/cstdio +++ b/libcxx/include/cstdio @@ -172,4 +172,4 @@ using ::vprintf; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CSTDIO +#endif // _LIBCPP_CSTDIO diff --git a/libcxx/include/cstdlib b/libcxx/include/cstdlib index 675a12d9e04b..82f8eed895b3 100644 --- a/libcxx/include/cstdlib +++ b/libcxx/include/cstdlib @@ -160,4 +160,4 @@ using ::aligned_alloc; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CSTDLIB +#endif // _LIBCPP_CSTDLIB diff --git a/libcxx/include/cstring b/libcxx/include/cstring index 8bc96a023302..678141524784 100644 --- a/libcxx/include/cstring +++ b/libcxx/include/cstring @@ -93,4 +93,4 @@ using ::strlen; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CSTRING +#endif // _LIBCPP_CSTRING diff --git a/libcxx/include/ctgmath b/libcxx/include/ctgmath index ba1eeeac9f70..41f7f0a172ea 100644 --- a/libcxx/include/ctgmath +++ b/libcxx/include/ctgmath @@ -25,4 +25,4 @@ #pragma GCC system_header #endif -#endif // _LIBCPP_CTGMATH +#endif // _LIBCPP_CTGMATH diff --git a/libcxx/include/ctime b/libcxx/include/ctime index b0e6c65af5d5..cf9cc7e211dd 100644 --- a/libcxx/include/ctime +++ b/libcxx/include/ctime @@ -92,4 +92,4 @@ using ::timespec_get; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CTIME +#endif // _LIBCPP_CTIME diff --git a/libcxx/include/ctype.h b/libcxx/include/ctype.h index dcc7935a29a0..967b6be1e390 100644 --- a/libcxx/include/ctype.h +++ b/libcxx/include/ctype.h @@ -56,4 +56,4 @@ int toupper(int c); #endif -#endif // _LIBCPP_CTYPE_H +#endif // _LIBCPP_CTYPE_H diff --git a/libcxx/include/cwchar b/libcxx/include/cwchar index 451c621f9c06..5803496d0889 100644 --- a/libcxx/include/cwchar +++ b/libcxx/include/cwchar @@ -189,4 +189,4 @@ using ::wprintf; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CWCHAR +#endif // _LIBCPP_CWCHAR diff --git a/libcxx/include/cwctype b/libcxx/include/cwctype index 575fd5661293..8b9c2c6346eb 100644 --- a/libcxx/include/cwctype +++ b/libcxx/include/cwctype @@ -83,4 +83,4 @@ using ::wctrans; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_CWCTYPE +#endif // _LIBCPP_CWCTYPE diff --git a/libcxx/include/deque b/libcxx/include/deque index 607611c378fc..83575c33f390 100644 --- a/libcxx/include/deque +++ b/libcxx/include/deque @@ -1056,7 +1056,7 @@ public: __deque_base(__deque_base&& __c) _NOEXCEPT_(is_nothrow_move_constructible::value); __deque_base(__deque_base&& __c, const allocator_type& __a); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG void swap(__deque_base& __c) #if _LIBCPP_STD_VER >= 14 @@ -1223,7 +1223,7 @@ __deque_base<_Tp, _Allocator>::__deque_base(__deque_base&& __c, const allocator_ } } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template void @@ -1338,7 +1338,7 @@ public: _LIBCPP_INLINE_VISIBILITY void assign(initializer_list __il) {assign(__il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template void assign(_InputIter __f, _InputIter __l, @@ -1441,7 +1441,7 @@ public: _LIBCPP_INLINE_VISIBILITY iterator insert(const_iterator __p, initializer_list __il) {return insert(__p, __il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG iterator insert(const_iterator __p, const value_type& __v); iterator insert(const_iterator __p, size_type __n, const value_type& __v); template @@ -1747,7 +1747,7 @@ deque<_Tp, _Allocator>::__move_assign(deque& __c, true_type) __base::__move_assign(__c); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -2129,7 +2129,7 @@ deque<_Tp, _Allocator>::emplace(const_iterator __p, _Args&&... __args) return __base::begin() + __pos; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template @@ -2533,7 +2533,7 @@ deque<_Tp, _Allocator>::__add_front_capacity(size_type __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (; __nb > 0; --__nb) __buf.push_back(__alloc_traits::allocate(__a, __base::__block_size)); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2545,7 +2545,7 @@ deque<_Tp, _Allocator>::__add_front_capacity(size_type __n) __alloc_traits::deallocate(__a, *__i, __base::__block_size); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (; __back_capacity > 0; --__back_capacity) { __buf.push_back(__base::__map_.back()); @@ -2675,7 +2675,7 @@ deque<_Tp, _Allocator>::__add_back_capacity(size_type __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (; __nb > 0; --__nb) __buf.push_back(__alloc_traits::allocate(__a, __base::__block_size)); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2687,7 +2687,7 @@ deque<_Tp, _Allocator>::__add_back_capacity(size_type __n) __alloc_traits::deallocate(__a, *__i, __base::__block_size); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (; __front_capacity > 0; --__front_capacity) { __buf.push_back(__base::__map_.front()); @@ -3045,4 +3045,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_DEQUE +#endif // _LIBCPP_DEQUE diff --git a/libcxx/include/errno.h b/libcxx/include/errno.h index 447319effd35..59950c24cea2 100644 --- a/libcxx/include/errno.h +++ b/libcxx/include/errno.h @@ -72,9 +72,9 @@ static const int __elast2 = 105; #define ELAST ENOTRECOVERABLE #endif -#endif // defined(EOWNERDEAD) +#endif // defined(EOWNERDEAD) -#endif // !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE) +#endif // !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE) // supply errno values likely to be missing, particularly on Windows @@ -394,4 +394,4 @@ static const int __elast2 = 105; #endif // __cplusplus -#endif // _LIBCPP_ERRNO_H +#endif // _LIBCPP_ERRNO_H diff --git a/libcxx/include/exception b/libcxx/include/exception index 37751d9d5b39..fd0cb22fe800 100644 --- a/libcxx/include/exception +++ b/libcxx/include/exception @@ -277,7 +277,7 @@ struct __throw_with_nested<_Tp, _Up, false> { __do_throw(_Tp&& __t) #else __do_throw (_Tp& __t) -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG { throw _VSTD::forward<_Tp>(__t); } @@ -330,4 +330,4 @@ rethrow_if_nested(const _Ep&, } // std -#endif // _LIBCPP_EXCEPTION +#endif // _LIBCPP_EXCEPTION diff --git a/libcxx/include/ext/__hash b/libcxx/include/ext/__hash index d03f101e95a1..86fd7ef2cfc4 100644 --- a/libcxx/include/ext/__hash +++ b/libcxx/include/ext/__hash @@ -130,4 +130,4 @@ template <> struct _LIBCPP_TEMPLATE_VIS hash }; } -#endif // _LIBCPP_EXT_HASH +#endif // _LIBCPP_EXT_HASH diff --git a/libcxx/include/ext/hash_map b/libcxx/include/ext/hash_map index 3c1d9b43c6ff..60e32b09e3e1 100644 --- a/libcxx/include/ext/hash_map +++ b/libcxx/include/ext/hash_map @@ -350,7 +350,7 @@ public: { const_cast(__x.__value_constructed) = false; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY void operator()(pointer __p) @@ -981,4 +981,4 @@ operator!=(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, } // __gnu_cxx -#endif // _LIBCPP_HASH_MAP +#endif // _LIBCPP_HASH_MAP diff --git a/libcxx/include/ext/hash_set b/libcxx/include/ext/hash_set index 239be9910cee..af3f9c5de0c5 100644 --- a/libcxx/include/ext/hash_set +++ b/libcxx/include/ext/hash_set @@ -656,4 +656,4 @@ operator!=(const hash_multiset<_Value, _Hash, _Pred, _Alloc>& __x, } // __gnu_cxx -#endif // _LIBCPP_HASH_SET +#endif // _LIBCPP_HASH_SET diff --git a/libcxx/include/float.h b/libcxx/include/float.h index 5c1e1db79766..399ab4f11a5d 100644 --- a/libcxx/include/float.h +++ b/libcxx/include/float.h @@ -90,4 +90,4 @@ Macros: #endif // __cplusplus -#endif // _LIBCPP_FLOAT_H +#endif // _LIBCPP_FLOAT_H diff --git a/libcxx/include/forward_list b/libcxx/include/forward_list index 42eff0b706ae..ef0f70ab795c 100644 --- a/libcxx/include/forward_list +++ b/libcxx/include/forward_list @@ -506,7 +506,7 @@ public: _NOEXCEPT_(is_nothrow_move_constructible<__node_allocator>::value); _LIBCPP_INLINE_VISIBILITY __forward_list_base(__forward_list_base&& __x, const allocator_type& __a); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG private: __forward_list_base(const __forward_list_base&); @@ -584,7 +584,7 @@ __forward_list_base<_Tp, _Alloc>::__forward_list_base(__forward_list_base&& __x, } } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template __forward_list_base<_Tp, _Alloc>::~__forward_list_base() @@ -706,7 +706,7 @@ public: _LIBCPP_INLINE_VISIBILITY void assign(initializer_list __il); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG // ~forward_list() = default; @@ -775,7 +775,7 @@ public: template void emplace_front(_Args&&... __args); #endif void push_front(value_type&& __v); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG void push_front(const value_type& __v); void pop_front(); @@ -787,7 +787,7 @@ public: iterator insert_after(const_iterator __p, value_type&& __v); iterator insert_after(const_iterator __p, initializer_list __il) {return insert_after(__p, __il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG iterator insert_after(const_iterator __p, const value_type& __v); iterator insert_after(const_iterator __p, size_type __n, const value_type& __v); template @@ -840,7 +840,7 @@ public: _LIBCPP_INLINE_VISIBILITY void merge(forward_list&& __x, _Compare __comp) {merge(__x, _VSTD::move(__comp));} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY void merge(forward_list& __x) {merge(__x, __less());} template void merge(forward_list& __x, _Compare __comp); @@ -855,7 +855,7 @@ private: void __move_assign(forward_list& __x, true_type) _NOEXCEPT_(is_nothrow_move_assignable::value); void __move_assign(forward_list& __x, false_type); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template static @@ -1070,7 +1070,7 @@ forward_list<_Tp, _Alloc>::operator=(initializer_list __il) return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -1150,7 +1150,7 @@ forward_list<_Tp, _Alloc>::push_front(value_type&& __v) base::__before_begin()->__next_ = __h.release(); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template void @@ -1207,7 +1207,7 @@ forward_list<_Tp, _Alloc>::insert_after(const_iterator __p, value_type&& __v) return iterator(__r->__next_); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template typename forward_list<_Tp, _Alloc>::iterator @@ -1240,7 +1240,7 @@ forward_list<_Tp, _Alloc>::insert_after(const_iterator __p, size_type __n, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (--__n; __n != 0; --__n, __last = __last->__next_) { __h.reset(__node_traits::allocate(__a, 1)); @@ -1260,7 +1260,7 @@ forward_list<_Tp, _Alloc>::insert_after(const_iterator __p, size_type __n, } throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __last->__next_ = __r->__next_; __r->__next_ = __first; __r = static_cast<__begin_node_pointer>(__last); @@ -1290,7 +1290,7 @@ forward_list<_Tp, _Alloc>::insert_after(const_iterator __p, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (++__f; __f != __l; ++__f, ((void)(__last = __last->__next_))) { __h.reset(__node_traits::allocate(__a, 1)); @@ -1310,7 +1310,7 @@ forward_list<_Tp, _Alloc>::insert_after(const_iterator __p, } throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __last->__next_ = __r->__next_; __r->__next_ = __first; __r = static_cast<__begin_node_pointer>(__last); @@ -1784,4 +1784,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_FORWARD_LIST +#endif // _LIBCPP_FORWARD_LIST diff --git a/libcxx/include/fstream b/libcxx/include/fstream index 912936594cf1..5006923405d5 100644 --- a/libcxx/include/fstream +++ b/libcxx/include/fstream @@ -393,7 +393,7 @@ basic_filebuf<_CharT, _Traits>::operator=(basic_filebuf&& __rhs) return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template basic_filebuf<_CharT, _Traits>::~basic_filebuf() @@ -401,14 +401,14 @@ basic_filebuf<_CharT, _Traits>::~basic_filebuf() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS close(); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (__owns_eb_) delete [] __extbuf_; if (__owns_ib_) @@ -1260,7 +1260,7 @@ basic_ifstream<_CharT, _Traits>::operator=(basic_ifstream&& __rhs) return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -1474,7 +1474,7 @@ basic_ofstream<_CharT, _Traits>::operator=(basic_ofstream&& __rhs) return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -1688,7 +1688,7 @@ basic_fstream<_CharT, _Traits>::operator=(basic_fstream&& __rhs) return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -1776,4 +1776,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_FSTREAM +#endif // _LIBCPP_FSTREAM diff --git a/libcxx/include/functional b/libcxx/include/functional index e80f7aedd921..62e9373ad14d 100644 --- a/libcxx/include/functional +++ b/libcxx/include/functional @@ -1652,7 +1652,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const _NOEXCEPT = 0; virtual const std::type_info& target_type() const _NOEXCEPT = 0; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; // __func implements __base for a given functor type. @@ -1689,7 +1689,7 @@ public: #ifndef _LIBCPP_NO_RTTI virtual const void* target(const type_info&) const _NOEXCEPT; virtual const std::type_info& target_type() const _NOEXCEPT; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; template @@ -1755,7 +1755,7 @@ __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::target_type() const _NOEXCEPT return typeid(_Fp); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI // __value_func creates a value-type from a __func. @@ -2325,10 +2325,10 @@ public: virtual const std::type_info& target_type() const _NOEXCEPT { return typeid(__func::__block_type); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; -#endif // _LIBCPP_HAS_EXTENSION_BLOCKS && !_LIBCPP_HAS_OBJC_ARC +#endif // _LIBCPP_HAS_EXTENSION_BLOCKS && !_LIBCPP_HAS_OBJC_ARC } // __function @@ -2431,7 +2431,7 @@ public: const std::type_info& target_type() const _NOEXCEPT; template _Tp* target() _NOEXCEPT; template const _Tp* target() const _NOEXCEPT; -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI }; #ifndef _LIBCPP_HAS_NO_DEDUCTION_GUIDES @@ -2590,7 +2590,7 @@ function<_Rp(_ArgTypes...)>::target() const _NOEXCEPT return __f_.template target<_Tp>(); } -#endif // _LIBCPP_NO_RTTI +#endif // _LIBCPP_NO_RTTI template inline _LIBCPP_INLINE_VISIBILITY @@ -2982,7 +2982,7 @@ bind(_Fp&& __f, _BoundArgs&&... __bound_args) return type(_VSTD::forward<_Fp>(__f), _VSTD::forward<_BoundArgs>(__bound_args)...); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 14 @@ -3224,4 +3224,4 @@ struct identity { _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_FUNCTIONAL +#endif // _LIBCPP_FUNCTIONAL diff --git a/libcxx/include/future b/libcxx/include/future index 44dc790fdf02..b17394571b81 100644 --- a/libcxx/include/future +++ b/libcxx/include/future @@ -467,7 +467,7 @@ operator^=(launch& __x, launch __y) __x = __x ^ __y; return __x; } -#endif // !_LIBCPP_HAS_NO_STRONG_ENUMS +#endif // !_LIBCPP_HAS_NO_STRONG_ENUMS //enum class future_status _LIBCPP_DECLARE_STRONG_ENUM(future_status) @@ -860,7 +860,7 @@ __deferred_assoc_state<_Rp, _Fp>::__execute() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS this->set_value(__func_()); #ifndef _LIBCPP_NO_EXCEPTIONS } @@ -868,7 +868,7 @@ __deferred_assoc_state<_Rp, _Fp>::__execute() { this->set_exception(current_exception()); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -901,7 +901,7 @@ __deferred_assoc_state::__execute() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __func_(); this->set_value(); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -910,7 +910,7 @@ __deferred_assoc_state::__execute() { this->set_exception(current_exception()); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -943,7 +943,7 @@ __async_assoc_state<_Rp, _Fp>::__execute() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS this->set_value(__func_()); #ifndef _LIBCPP_NO_EXCEPTIONS } @@ -951,7 +951,7 @@ __async_assoc_state<_Rp, _Fp>::__execute() { this->set_exception(current_exception()); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -992,7 +992,7 @@ __async_assoc_state::__execute() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __func_(); this->set_value(); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -1001,7 +1001,7 @@ __async_assoc_state::__execute() { this->set_exception(current_exception()); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -1951,7 +1951,7 @@ packaged_task<_Rp(_ArgTypes...)>::operator()(_ArgTypes... __args) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __p_.set_value(__f_(_VSTD::forward<_ArgTypes>(__args)...)); #ifndef _LIBCPP_NO_EXCEPTIONS } @@ -1959,7 +1959,7 @@ packaged_task<_Rp(_ArgTypes...)>::operator()(_ArgTypes... __args) { __p_.set_exception(current_exception()); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -1973,7 +1973,7 @@ packaged_task<_Rp(_ArgTypes...)>::make_ready_at_thread_exit(_ArgTypes... __args) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __p_.set_value_at_thread_exit(__f_(_VSTD::forward<_ArgTypes>(__args)...)); #ifndef _LIBCPP_NO_EXCEPTIONS } @@ -1981,7 +1981,7 @@ packaged_task<_Rp(_ArgTypes...)>::make_ready_at_thread_exit(_ArgTypes... __args) { __p_.set_exception_at_thread_exit(current_exception()); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -2080,7 +2080,7 @@ packaged_task::operator()(_ArgTypes... __args) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __f_(_VSTD::forward<_ArgTypes>(__args)...); __p_.set_value(); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2089,7 +2089,7 @@ packaged_task::operator()(_ArgTypes... __args) { __p_.set_exception(current_exception()); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -2103,7 +2103,7 @@ packaged_task::make_ready_at_thread_exit(_ArgTypes... __args #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __f_(_VSTD::forward<_ArgTypes>(__args)...); __p_.set_value_at_thread_exit(); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2112,7 +2112,7 @@ packaged_task::make_ready_at_thread_exit(_ArgTypes... __args { __p_.set_exception_at_thread_exit(current_exception()); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -2454,4 +2454,4 @@ _LIBCPP_END_NAMESPACE_STD #endif // !_LIBCPP_HAS_NO_THREADS -#endif // _LIBCPP_FUTURE +#endif // _LIBCPP_FUTURE diff --git a/libcxx/include/initializer_list b/libcxx/include/initializer_list index 893736f57ead..ea1f234675f7 100644 --- a/libcxx/include/initializer_list +++ b/libcxx/include/initializer_list @@ -110,8 +110,8 @@ end(initializer_list<_Ep> __il) _NOEXCEPT return __il.end(); } -#endif // !defined(_LIBCPP_CXX03_LANG) +#endif // !defined(_LIBCPP_CXX03_LANG) } // std -#endif // _LIBCPP_INITIALIZER_LIST +#endif // _LIBCPP_INITIALIZER_LIST diff --git a/libcxx/include/inttypes.h b/libcxx/include/inttypes.h index e136b234a4ae..6b7cb2648a5e 100644 --- a/libcxx/include/inttypes.h +++ b/libcxx/include/inttypes.h @@ -259,4 +259,4 @@ uintmax_t wcstoumax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int #endif // __cplusplus -#endif // _LIBCPP_INTTYPES_H +#endif // _LIBCPP_INTTYPES_H diff --git a/libcxx/include/iomanip b/libcxx/include/iomanip index 4b6418bc0b7e..b2941fa352c2 100644 --- a/libcxx/include/iomanip +++ b/libcxx/include/iomanip @@ -304,7 +304,7 @@ operator>>(basic_istream<_CharT, _Traits>& __is, const __iom_t7<_MoneyT>& __x) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_istream<_CharT, _Traits>::sentry __s(__is); if (__s) { @@ -321,7 +321,7 @@ operator>>(basic_istream<_CharT, _Traits>& __is, const __iom_t7<_MoneyT>& __x) { __is.__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return __is; } @@ -364,7 +364,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t8<_MoneyT>& __x) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -380,7 +380,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t8<_MoneyT>& __x) { __os.__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -423,7 +423,7 @@ operator>>(basic_istream<_CharT, _Traits>& __is, const __iom_t9<_CharT>& __x) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_istream<_CharT, _Traits>::sentry __s(__is); if (__s) { @@ -441,7 +441,7 @@ operator>>(basic_istream<_CharT, _Traits>& __is, const __iom_t9<_CharT>& __x) { __is.__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return __is; } @@ -484,7 +484,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t10<_CharT>& __x) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -501,7 +501,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t10<_CharT>& __x) { __os.__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -667,4 +667,4 @@ quoted (basic_string_view <_CharT, _Traits> __sv, _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_IOMANIP +#endif // _LIBCPP_IOMANIP diff --git a/libcxx/include/ios b/libcxx/include/ios index 653e3a95fc7e..0104b33edd13 100644 --- a/libcxx/include/ios +++ b/libcxx/include/ios @@ -1037,4 +1037,4 @@ defaultfloat(ios_base& __str) _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_IOS +#endif // _LIBCPP_IOS diff --git a/libcxx/include/iosfwd b/libcxx/include/iosfwd index f60437c952cf..7b44d6e5f465 100644 --- a/libcxx/include/iosfwd +++ b/libcxx/include/iosfwd @@ -227,7 +227,7 @@ typedef fpos u8streampos; #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS typedef fpos u16streampos; typedef fpos u32streampos; -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS #if defined(_NEWLIB_VERSION) // On newlib, off_t is 'long int' @@ -279,4 +279,4 @@ public: _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_IOSFWD +#endif // _LIBCPP_IOSFWD diff --git a/libcxx/include/iostream b/libcxx/include/iostream index 595620b8aa62..b184234d8a77 100644 --- a/libcxx/include/iostream +++ b/libcxx/include/iostream @@ -60,4 +60,4 @@ extern _LIBCPP_FUNC_VIS wostream wclog; _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_IOSTREAM +#endif // _LIBCPP_IOSTREAM diff --git a/libcxx/include/istream b/libcxx/include/istream index 5e984909f878..8369a5018d6f 100644 --- a/libcxx/include/istream +++ b/libcxx/include/istream @@ -351,7 +351,7 @@ basic_istream<_CharT, _Traits>::operator=(basic_istream&& __rhs) return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template basic_istream<_CharT, _Traits>::~basic_istream() @@ -369,7 +369,7 @@ __input_arithmetic(basic_istream<_CharT, _Traits>& __is, _Tp& __n) { #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typedef istreambuf_iterator<_CharT, _Traits> _Ip; typedef num_get<_CharT, _Ip> _Fp; use_facet<_Fp>(__is.getloc()).get(_Ip(__is), _Ip(), __is, __state, __n); @@ -478,7 +478,7 @@ __input_arithmetic_with_numeric_limits(basic_istream<_CharT, _Traits>& __is, _Tp #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typedef istreambuf_iterator<_CharT, _Traits> _Ip; typedef num_get<_CharT, _Ip> _Fp; long __temp; @@ -508,7 +508,7 @@ __input_arithmetic_with_numeric_limits(basic_istream<_CharT, _Traits>& __is, _Tp throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __is.setstate(__state); } return __is; @@ -636,7 +636,7 @@ operator>>(basic_istream& __is, signed char* __s) return __is >> (char*)__s; } -#endif // _LIBCPP_STD_VER > 17 +#endif // _LIBCPP_STD_VER > 17 template basic_istream<_CharT, _Traits>& @@ -734,7 +734,7 @@ basic_istream<_CharT, _Traits>::operator>>(basic_streambuf::get(basic_streambuf& __s #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS while (true) { typename traits_type::int_type __i = this->rdbuf()->sgetc(); @@ -878,7 +878,7 @@ basic_istream<_CharT, _Traits>::get(basic_streambuf& __s __state |= ios_base::badbit; // according to the spec, exceptions here are caught but not rethrown } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (__gc_ == 0) __state |= ios_base::failbit; this->setstate(__state); @@ -898,7 +898,7 @@ basic_istream<_CharT, _Traits>::getline(char_type* __s, streamsize __n, char_typ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS while (true) { typename traits_type::int_type __i = this->rdbuf()->sgetc(); @@ -938,7 +938,7 @@ basic_istream<_CharT, _Traits>::getline(char_type* __s, streamsize __n, char_typ throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } if (__n > 0) *__s = char_type(); @@ -960,7 +960,7 @@ basic_istream<_CharT, _Traits>::ignore(streamsize __n, int_type __dlm) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (__n == numeric_limits::max()) { while (true) @@ -1002,7 +1002,7 @@ basic_istream<_CharT, _Traits>::ignore(streamsize __n, int_type __dlm) throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS this->setstate(__state); } return *this; @@ -1021,7 +1021,7 @@ basic_istream<_CharT, _Traits>::peek() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __r = this->rdbuf()->sgetc(); if (traits_type::eq_int_type(__r, traits_type::eof())) __state |= ios_base::eofbit; @@ -1036,7 +1036,7 @@ basic_istream<_CharT, _Traits>::peek() throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS this->setstate(__state); } return __r; @@ -1054,7 +1054,7 @@ basic_istream<_CharT, _Traits>::read(char_type* __s, streamsize __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __gc_ = this->rdbuf()->sgetn(__s, __n); if (__gc_ != __n) __state |= ios_base::failbit | ios_base::eofbit; @@ -1069,7 +1069,7 @@ basic_istream<_CharT, _Traits>::read(char_type* __s, streamsize __n) throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } else { @@ -1091,7 +1091,7 @@ basic_istream<_CharT, _Traits>::readsome(char_type* __s, streamsize __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS streamsize __c = this->rdbuf()->in_avail(); switch (__c) { @@ -1118,7 +1118,7 @@ basic_istream<_CharT, _Traits>::readsome(char_type* __s, streamsize __n) throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } else { @@ -1141,7 +1141,7 @@ basic_istream<_CharT, _Traits>::putback(char_type __c) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (this->rdbuf() == nullptr || this->rdbuf()->sputbackc(__c) == traits_type::eof()) __state |= ios_base::badbit; #ifndef _LIBCPP_NO_EXCEPTIONS @@ -1155,7 +1155,7 @@ basic_istream<_CharT, _Traits>::putback(char_type __c) throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } else { @@ -1178,7 +1178,7 @@ basic_istream<_CharT, _Traits>::unget() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (this->rdbuf() == nullptr || this->rdbuf()->sungetc() == traits_type::eof()) __state |= ios_base::badbit; #ifndef _LIBCPP_NO_EXCEPTIONS @@ -1192,7 +1192,7 @@ basic_istream<_CharT, _Traits>::unget() throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } else { @@ -1214,7 +1214,7 @@ basic_istream<_CharT, _Traits>::sync() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (this->rdbuf() == nullptr) return -1; if (this->rdbuf()->pubsync() == -1) @@ -1233,7 +1233,7 @@ basic_istream<_CharT, _Traits>::sync() throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS this->setstate(__state); } return __r; @@ -1251,7 +1251,7 @@ basic_istream<_CharT, _Traits>::tellg() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __r = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::in); #ifndef _LIBCPP_NO_EXCEPTIONS } @@ -1264,7 +1264,7 @@ basic_istream<_CharT, _Traits>::tellg() throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS this->setstate(__state); } return __r; @@ -1282,7 +1282,7 @@ basic_istream<_CharT, _Traits>::seekg(pos_type __pos) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (this->rdbuf()->pubseekpos(__pos, ios_base::in) == pos_type(-1)) __state |= ios_base::failbit; #ifndef _LIBCPP_NO_EXCEPTIONS @@ -1296,7 +1296,7 @@ basic_istream<_CharT, _Traits>::seekg(pos_type __pos) throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS this->setstate(__state); } return *this; @@ -1314,7 +1314,7 @@ basic_istream<_CharT, _Traits>::seekg(off_type __off, ios_base::seekdir __dir) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::in) == pos_type(-1)) __state |= ios_base::failbit; #ifndef _LIBCPP_NO_EXCEPTIONS @@ -1328,7 +1328,7 @@ basic_istream<_CharT, _Traits>::seekg(off_type __off, ios_base::seekdir __dir) throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS this->setstate(__state); } return *this; @@ -1345,7 +1345,7 @@ ws(basic_istream<_CharT, _Traits>& __is) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS const ctype<_CharT>& __ct = use_facet >(__is.getloc()); while (true) { @@ -1370,7 +1370,7 @@ ws(basic_istream<_CharT, _Traits>& __is) throw; } } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __is.setstate(__state); } return __is; @@ -1397,7 +1397,7 @@ _Stream&& operator>>(_Stream&& __is, _Tp&& __x) return _VSTD::move(__is); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template class _LIBCPP_TEMPLATE_VIS basic_iostream @@ -1449,7 +1449,7 @@ basic_iostream<_CharT, _Traits>::operator=(basic_iostream&& __rhs) return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template basic_iostream<_CharT, _Traits>::~basic_iostream() @@ -1594,7 +1594,7 @@ getline(basic_istream<_CharT, _Traits>&& __is, return getline(__is, __str, __is.widen('\n')); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template basic_istream<_CharT, _Traits>& @@ -1656,4 +1656,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_ISTREAM +#endif // _LIBCPP_ISTREAM diff --git a/libcxx/include/iterator b/libcxx/include/iterator index 75708604b817..a1e492a229a1 100644 --- a/libcxx/include/iterator +++ b/libcxx/include/iterator @@ -722,7 +722,7 @@ public: #ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 back_insert_iterator& operator=(typename _Container::value_type&& __value_) {container->push_back(_VSTD::move(__value_)); return *this;} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 back_insert_iterator& operator*() {return *this;} _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 back_insert_iterator& operator++() {return *this;} _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 back_insert_iterator operator++(int) {return *this;} @@ -755,7 +755,7 @@ public: #ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 front_insert_iterator& operator=(typename _Container::value_type&& __value_) {container->push_front(_VSTD::move(__value_)); return *this;} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 front_insert_iterator& operator*() {return *this;} _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 front_insert_iterator& operator++() {return *this;} _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 front_insert_iterator operator++(int) {return *this;} @@ -790,7 +790,7 @@ public: #ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 insert_iterator& operator=(typename _Container::value_type&& __value_) {iter = container->insert(iter, _VSTD::move(__value_)); ++iter; return *this;} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 insert_iterator& operator*() {return *this;} _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 insert_iterator& operator++() {return *this;} _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 insert_iterator& operator++(int) {return *this;} @@ -1737,7 +1737,7 @@ end(const _Cp& __c) return __c.end(); } -#endif // !defined(_LIBCPP_CXX03_LANG) +#endif // !defined(_LIBCPP_CXX03_LANG) #if _LIBCPP_STD_VER > 14 @@ -1835,4 +1835,4 @@ __libcpp_erase_if_container(_Container& __c, _Predicate& __pred) { _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_ITERATOR +#endif // _LIBCPP_ITERATOR diff --git a/libcxx/include/limits b/libcxx/include/limits index 8f97cd10a8b1..a6d517852493 100644 --- a/libcxx/include/limits +++ b/libcxx/include/limits @@ -815,4 +815,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_LIMITS +#endif // _LIBCPP_LIMITS diff --git a/libcxx/include/limits.h b/libcxx/include/limits.h index 4a212f8f35a8..938f8875bc54 100644 --- a/libcxx/include/limits.h +++ b/libcxx/include/limits.h @@ -61,4 +61,4 @@ Macros: #include_next #endif // __GNUC__ -#endif // _LIBCPP_LIMITS_H +#endif // _LIBCPP_LIMITS_H diff --git a/libcxx/include/list b/libcxx/include/list index 7d616faa64ff..db1b3674b7b1 100644 --- a/libcxx/include/list +++ b/libcxx/include/list @@ -351,7 +351,7 @@ public: return *this; } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 _LIBCPP_INLINE_VISIBILITY reference operator*() const @@ -479,7 +479,7 @@ public: return *this; } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 _LIBCPP_INLINE_VISIBILITY reference operator*() const { @@ -920,7 +920,7 @@ public: _LIBCPP_INLINE_VISIBILITY void assign(initializer_list __il) {assign(__il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template void assign(_InpIter __f, _InpIter __l, @@ -1023,7 +1023,7 @@ public: _LIBCPP_INLINE_VISIBILITY iterator insert(const_iterator __p, initializer_list __il) {return insert(__p, __il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG void push_front(const value_type& __x); void push_back(const value_type& __x); @@ -1124,7 +1124,7 @@ public: bool __addable(const const_iterator* __i, ptrdiff_t __n) const; bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const; -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 private: _LIBCPP_INLINE_VISIBILITY @@ -1386,7 +1386,7 @@ list<_Tp, _Alloc>::__move_assign(list& __c, true_type) splice(end(), __c); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -1495,7 +1495,7 @@ list<_Tp, _Alloc>::insert(const_iterator __p, size_type __n, const value_type& _ #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (--__n; __n != 0; --__n, ++__e, ++__ds) { __hold.reset(__node_alloc_traits::allocate(__na, 1)); @@ -1523,7 +1523,7 @@ list<_Tp, _Alloc>::insert(const_iterator __p, size_type __n, const value_type& _ } throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __link_nodes(__p.__ptr_, __r.__ptr_, __e.__ptr_); base::__sz() += __ds; } @@ -1561,7 +1561,7 @@ list<_Tp, _Alloc>::insert(const_iterator __p, _InpIter __f, _InpIter __l, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (++__f; __f != __l; ++__f, (void) ++__e, (void) ++__ds) { __hold.reset(__node_alloc_traits::allocate(__na, 1)); @@ -1589,7 +1589,7 @@ list<_Tp, _Alloc>::insert(const_iterator __p, _InpIter __f, _InpIter __l, } throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __link_nodes(__p.__ptr_, __r.__ptr_, __e.__ptr_); base::__sz() += __ds; } @@ -1737,7 +1737,7 @@ list<_Tp, _Alloc>::insert(const_iterator __p, value_type&& __x) #endif } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template void @@ -1909,7 +1909,7 @@ list<_Tp, _Alloc>::resize(size_type __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (--__n; __n != 0; --__n, ++__e, ++__ds) { __hold.reset(__node_alloc_traits::allocate(__na, 1)); @@ -1937,7 +1937,7 @@ list<_Tp, _Alloc>::resize(size_type __n) } throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __link_nodes_at_back(__r.__ptr_, __e.__ptr_); base::__sz() += __ds; } @@ -1967,7 +1967,7 @@ list<_Tp, _Alloc>::resize(size_type __n, const value_type& __x) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (--__n; __n != 0; --__n, ++__e, ++__ds) { __hold.reset(__node_alloc_traits::allocate(__na, 1)); @@ -1995,7 +1995,7 @@ list<_Tp, _Alloc>::resize(size_type __n, const value_type& __x) } throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __link_nodes(base::__end_as_link(), __r.__ptr_, __e.__ptr_); base::__sz() += __ds; } @@ -2415,7 +2415,7 @@ list<_Tp, _Alloc>::__subscriptable(const const_iterator*, ptrdiff_t) const return false; } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 template inline _LIBCPP_INLINE_VISIBILITY @@ -2492,4 +2492,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_LIST +#endif // _LIBCPP_LIST diff --git a/libcxx/include/locale b/libcxx/include/locale index ad002227b36b..2a8eed609d92 100644 --- a/libcxx/include/locale +++ b/libcxx/include/locale @@ -3753,7 +3753,7 @@ wstring_convert<_Codecvt, _Elem, _Wide_alloc, _Byte_alloc>:: __wc.__cvtptr_ = nullptr; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template wstring_convert<_Codecvt, _Elem, _Wide_alloc, _Byte_alloc>::~wstring_convert() @@ -4381,4 +4381,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_LOCALE +#endif // _LIBCPP_LOCALE diff --git a/libcxx/include/locale.h b/libcxx/include/locale.h index 81cfcee57fd7..65b2bd5fd724 100644 --- a/libcxx/include/locale.h +++ b/libcxx/include/locale.h @@ -45,4 +45,4 @@ Functions: #include_next -#endif // _LIBCPP_LOCALE_H +#endif // _LIBCPP_LOCALE_H diff --git a/libcxx/include/map b/libcxx/include/map index 688e06857485..2ff28bfb8fbf 100644 --- a/libcxx/include/map +++ b/libcxx/include/map @@ -643,7 +643,7 @@ public: { __x.__value_constructed = false; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY void operator()(pointer __p) _NOEXCEPT @@ -1081,7 +1081,7 @@ public: return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit map(const allocator_type& __a) @@ -1178,7 +1178,7 @@ public: iterator insert(const_iterator __pos, _Pp&& __p) {return __tree_.__insert_unique(__pos.__i_, _VSTD::forward<_Pp>(__p));} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY pair @@ -1579,7 +1579,7 @@ map<_Key, _Tp, _Compare, _Allocator>::operator[](const key_type& __k) return __r->__value_.__get_value().second; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template _Tp& @@ -1856,7 +1856,7 @@ public: return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit multimap(const allocator_type& __a) @@ -1959,7 +1959,7 @@ public: void insert(initializer_list __il) {insert(__il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY iterator insert(const value_type& __v) {return __tree_.__insert_multi(__v);} @@ -2270,4 +2270,4 @@ inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_MAP +#endif // _LIBCPP_MAP diff --git a/libcxx/include/math.h b/libcxx/include/math.h index b22c92712650..4ee8aebd920a 100644 --- a/libcxx/include/math.h +++ b/libcxx/include/math.h @@ -373,7 +373,7 @@ typename std::enable_if< signbit(_A1) _NOEXCEPT { return false; } -#endif // signbit +#endif // signbit // fpclassify @@ -424,7 +424,7 @@ typename std::enable_if::value, int>::type fpclassify(_A1 __lcpp_x) _NOEXCEPT { return __lcpp_x == 0 ? FP_ZERO : FP_NORMAL; } -#endif // fpclassify +#endif // fpclassify // isfinite @@ -462,7 +462,7 @@ typename std::enable_if< isfinite(_A1) _NOEXCEPT { return true; } -#endif // isfinite +#endif // isfinite // isinf @@ -514,7 +514,7 @@ bool isinf(long double __lcpp_x) _NOEXCEPT { return __libcpp_isinf(__lcpp_x); } #endif -#endif // isinf +#endif // isinf // isnan @@ -562,7 +562,7 @@ bool isnan(long double __lcpp_x) _NOEXCEPT { return __libcpp_isnan(__lcpp_x); } #endif -#endif // isnan +#endif // isnan // isnormal @@ -596,7 +596,7 @@ typename std::enable_if::value, bool>::type isnormal(_A1 __lcpp_x) _NOEXCEPT { return __lcpp_x != 0; } -#endif // isnormal +#endif // isnormal // isgreater @@ -626,7 +626,7 @@ isgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT return __libcpp_isgreater((type)__lcpp_x, (type)__lcpp_y); } -#endif // isgreater +#endif // isgreater // isgreaterequal @@ -656,7 +656,7 @@ isgreaterequal(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT return __libcpp_isgreaterequal((type)__lcpp_x, (type)__lcpp_y); } -#endif // isgreaterequal +#endif // isgreaterequal // isless @@ -686,7 +686,7 @@ isless(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT return __libcpp_isless((type)__lcpp_x, (type)__lcpp_y); } -#endif // isless +#endif // isless // islessequal @@ -716,7 +716,7 @@ islessequal(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT return __libcpp_islessequal((type)__lcpp_x, (type)__lcpp_y); } -#endif // islessequal +#endif // islessequal // islessgreater @@ -746,7 +746,7 @@ islessgreater(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT return __libcpp_islessgreater((type)__lcpp_x, (type)__lcpp_y); } -#endif // islessgreater +#endif // islessgreater // isunordered @@ -776,7 +776,7 @@ isunordered(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT return __libcpp_isunordered((type)__lcpp_x, (type)__lcpp_y); } -#endif // isunordered +#endif // isunordered // abs // @@ -1722,4 +1722,4 @@ trunc(_A1 __lcpp_x) _NOEXCEPT #include_next #endif -#endif // _LIBCPP_MATH_H +#endif // _LIBCPP_MATH_H diff --git a/libcxx/include/memory b/libcxx/include/memory index 35c0a2959b85..74a430def2a3 100644 --- a/libcxx/include/memory +++ b/libcxx/include/memory @@ -961,4 +961,4 @@ _LIBCPP_POP_MACROS # include <__pstl_memory> #endif -#endif // _LIBCPP_MEMORY +#endif // _LIBCPP_MEMORY diff --git a/libcxx/include/mutex b/libcxx/include/mutex index f098ccba4892..babb2b429739 100644 --- a/libcxx/include/mutex +++ b/libcxx/include/mutex @@ -365,7 +365,7 @@ try_lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3&... __l3) return __r; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template void @@ -469,7 +469,7 @@ void __unlock(_L0& __l0, _L1& __l1, _L2& __l2, _L3&... __l3) { _VSTD::__unlock(__l2, __l3...); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 14 template @@ -568,7 +568,7 @@ template _LIBCPP_INLINE_VISIBILITY void call_once(once_flag&, const _Callable&); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG struct _LIBCPP_TEMPLATE_VIS once_flag { @@ -601,7 +601,7 @@ private: template friend void call_once(once_flag&, const _Callable&); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG }; #ifndef _LIBCPP_CXX03_LANG @@ -702,10 +702,10 @@ call_once(once_flag& __flag, const _Callable& __func) } } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_MUTEX +#endif // _LIBCPP_MUTEX diff --git a/libcxx/include/new b/libcxx/include/new index 21bc30ba1363..ea563c9d01e8 100644 --- a/libcxx/include/new +++ b/libcxx/include/new @@ -356,4 +356,4 @@ constexpr _Tp* launder(_Tp* __p) noexcept _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_NEW +#endif // _LIBCPP_NEW diff --git a/libcxx/include/numeric b/libcxx/include/numeric index 862396d5e1e4..0fd48dee1128 100644 --- a/libcxx/include/numeric +++ b/libcxx/include/numeric @@ -632,4 +632,4 @@ _LIBCPP_POP_MACROS # include <__pstl_numeric> #endif -#endif // _LIBCPP_NUMERIC +#endif // _LIBCPP_NUMERIC diff --git a/libcxx/include/optional b/libcxx/include/optional index 1de9c8a07802..19e20e0db6cb 100644 --- a/libcxx/include/optional +++ b/libcxx/include/optional @@ -1415,8 +1415,8 @@ struct _LIBCPP_TEMPLATE_VIS hash< _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_STD_VER > 14 +#endif // _LIBCPP_STD_VER > 14 _LIBCPP_POP_MACROS -#endif // _LIBCPP_OPTIONAL +#endif // _LIBCPP_OPTIONAL diff --git a/libcxx/include/ostream b/libcxx/include/ostream index f5eb8a894607..2dc466fb39d8 100644 --- a/libcxx/include/ostream +++ b/libcxx/include/ostream @@ -280,7 +280,7 @@ basic_ostream<_CharT, _Traits>::sentry::~sentry() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (__os_.rdbuf()->pubsync() == -1) __os_.setstate(ios_base::badbit); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -288,7 +288,7 @@ basic_ostream<_CharT, _Traits>::sentry::~sentry() catch (...) { } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -308,7 +308,7 @@ basic_ostream<_CharT, _Traits>::operator=(basic_ostream&& __rhs) return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template basic_ostream<_CharT, _Traits>::~basic_ostream() @@ -322,7 +322,7 @@ basic_ostream<_CharT, _Traits>::operator<<(basic_streambuf::operator<<(basic_streambuf _Ip; typedef ostreambuf_iterator<_CharT, _Traits> _Op; _Ip __i(__sb); @@ -352,7 +352,7 @@ basic_ostream<_CharT, _Traits>::operator<<(basic_streambuf__set_failbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } else this->setstate(ios_base::badbit); @@ -363,7 +363,7 @@ basic_ostream<_CharT, _Traits>::operator<<(basic_streambuf__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -374,7 +374,7 @@ basic_ostream<_CharT, _Traits>::operator<<(bool __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -389,7 +389,7 @@ basic_ostream<_CharT, _Traits>::operator<<(bool __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -400,7 +400,7 @@ basic_ostream<_CharT, _Traits>::operator<<(short __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -419,7 +419,7 @@ basic_ostream<_CharT, _Traits>::operator<<(short __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -430,7 +430,7 @@ basic_ostream<_CharT, _Traits>::operator<<(unsigned short __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -445,7 +445,7 @@ basic_ostream<_CharT, _Traits>::operator<<(unsigned short __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -456,7 +456,7 @@ basic_ostream<_CharT, _Traits>::operator<<(int __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -475,7 +475,7 @@ basic_ostream<_CharT, _Traits>::operator<<(int __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -486,7 +486,7 @@ basic_ostream<_CharT, _Traits>::operator<<(unsigned int __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -501,7 +501,7 @@ basic_ostream<_CharT, _Traits>::operator<<(unsigned int __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -512,7 +512,7 @@ basic_ostream<_CharT, _Traits>::operator<<(long __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -527,7 +527,7 @@ basic_ostream<_CharT, _Traits>::operator<<(long __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -538,7 +538,7 @@ basic_ostream<_CharT, _Traits>::operator<<(unsigned long __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -553,7 +553,7 @@ basic_ostream<_CharT, _Traits>::operator<<(unsigned long __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -564,7 +564,7 @@ basic_ostream<_CharT, _Traits>::operator<<(long long __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -579,7 +579,7 @@ basic_ostream<_CharT, _Traits>::operator<<(long long __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -590,7 +590,7 @@ basic_ostream<_CharT, _Traits>::operator<<(unsigned long long __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -605,7 +605,7 @@ basic_ostream<_CharT, _Traits>::operator<<(unsigned long long __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -616,7 +616,7 @@ basic_ostream<_CharT, _Traits>::operator<<(float __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -631,7 +631,7 @@ basic_ostream<_CharT, _Traits>::operator<<(float __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -642,7 +642,7 @@ basic_ostream<_CharT, _Traits>::operator<<(double __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -657,7 +657,7 @@ basic_ostream<_CharT, _Traits>::operator<<(double __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -668,7 +668,7 @@ basic_ostream<_CharT, _Traits>::operator<<(long double __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -683,7 +683,7 @@ basic_ostream<_CharT, _Traits>::operator<<(long double __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -694,7 +694,7 @@ basic_ostream<_CharT, _Traits>::operator<<(const void* __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -709,7 +709,7 @@ basic_ostream<_CharT, _Traits>::operator<<(const void* __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -721,7 +721,7 @@ __put_character_sequence(basic_ostream<_CharT, _Traits>& __os, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -742,7 +742,7 @@ __put_character_sequence(basic_ostream<_CharT, _Traits>& __os, { __os.__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -761,7 +761,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -783,7 +783,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { __os.__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -822,7 +822,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typename basic_ostream<_CharT, _Traits>::sentry __s(__os); if (__s) { @@ -857,7 +857,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { __os.__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return __os; } @@ -891,7 +891,7 @@ basic_ostream<_CharT, _Traits>::put(char_type __c) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __s(*this); if (__s) { @@ -907,7 +907,7 @@ basic_ostream<_CharT, _Traits>::put(char_type __c) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -918,7 +918,7 @@ basic_ostream<_CharT, _Traits>::write(const char_type* __s, streamsize __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS sentry __sen(*this); if (__sen && __n) { @@ -931,7 +931,7 @@ basic_ostream<_CharT, _Traits>::write(const char_type* __s, streamsize __n) { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -942,7 +942,7 @@ basic_ostream<_CharT, _Traits>::flush() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (this->rdbuf()) { sentry __s(*this); @@ -958,7 +958,7 @@ basic_ostream<_CharT, _Traits>::flush() { this->__set_badbit_and_consider_rethrow(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return *this; } @@ -1046,7 +1046,7 @@ _Stream&& operator<<(_Stream&& __os, const _Tp& __x) return _VSTD::move(__os); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template basic_ostream<_CharT, _Traits>& @@ -1106,4 +1106,4 @@ _LIBCPP_EXTERN_TEMPLATE(class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ostream::value) {c = _VSTD::move(__q.c); return *this;} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit queue(const container_type& __c) : c(__c) {} #ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit queue(container_type&& __c) : c(_VSTD::move(__c)) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template _LIBCPP_INLINE_VISIBILITY explicit queue(const _Alloc& __a, @@ -274,7 +274,7 @@ public: _EnableIf::value>* = 0) : c(_VSTD::move(__q.c), __a) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY bool empty() const {return c.empty();} @@ -304,7 +304,7 @@ public: void emplace(_Args&&... __args) { c.emplace_back(_VSTD::forward<_Args>(__args)...);} #endif -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY void pop() {c.pop_front();} @@ -451,7 +451,7 @@ public: _NOEXCEPT_(is_nothrow_move_assignable::value && is_nothrow_move_assignable::value) {c = _VSTD::move(__q.c); comp = _VSTD::move(__q.comp); return *this;} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit priority_queue(const value_compare& __comp) @@ -475,7 +475,7 @@ public: _LIBCPP_INLINE_VISIBILITY priority_queue(_InputIter __f, _InputIter __l, const value_compare& __comp, container_type&& __c); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template _LIBCPP_INLINE_VISIBILITY explicit priority_queue(const _Alloc& __a, @@ -503,7 +503,7 @@ public: _LIBCPP_INLINE_VISIBILITY priority_queue(priority_queue&& __q, const _Alloc& __a, _EnableIf::value>* = 0); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY bool empty() const {return c.empty();} @@ -520,7 +520,7 @@ public: template _LIBCPP_INLINE_VISIBILITY void emplace(_Args&&... __args); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY void pop(); @@ -582,7 +582,7 @@ priority_queue<_Tp, _Container, _Compare>::priority_queue(const value_compare& _ _VSTD::make_heap(c.begin(), c.end(), comp); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -623,7 +623,7 @@ priority_queue<_Tp, _Container, _Compare>::priority_queue(_InputIter __f, _Input _VSTD::make_heap(c.begin(), c.end(), comp); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -697,7 +697,7 @@ priority_queue<_Tp, _Container, _Compare>::priority_queue(priority_queue&& __q, _VSTD::make_heap(c.begin(), c.end(), comp); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -729,7 +729,7 @@ priority_queue<_Tp, _Container, _Compare>::emplace(_Args&&... __args) _VSTD::push_heap(c.begin(), c.end(), comp); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -773,4 +773,4 @@ struct _LIBCPP_TEMPLATE_VIS uses_allocator @@ -3170,7 +3170,7 @@ public: _LIBCPP_INLINE_VISIBILITY explicit independent_bits_engine(_Engine&& __e) : __e_(_VSTD::move(__e)) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit independent_bits_engine(result_type __sd) : __e_(__sd) {} template @@ -3400,7 +3400,7 @@ public: _LIBCPP_INLINE_VISIBILITY explicit shuffle_order_engine(_Engine&& __e) : __e_(_VSTD::move(__e)) {__init();} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit shuffle_order_engine(result_type __sd) : __e_(__sd) {__init();} template @@ -3652,7 +3652,7 @@ public: template _LIBCPP_INLINE_VISIBILITY seed_seq(initializer_list<_Tp> __il) {init(__il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template _LIBCPP_INLINE_VISIBILITY @@ -6163,7 +6163,7 @@ public: _LIBCPP_INLINE_VISIBILITY param_type(initializer_list __wl) : __p_(__wl.begin(), __wl.end()) {__init();} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template param_type(size_t __nw, double __xmin, double __xmax, _UnaryOperation __fw); @@ -6210,7 +6210,7 @@ public: _LIBCPP_INLINE_VISIBILITY discrete_distribution(initializer_list __wl) : __p_(__wl) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template _LIBCPP_INLINE_VISIBILITY discrete_distribution(size_t __nw, double __xmin, double __xmax, @@ -6392,7 +6392,7 @@ public: #ifndef _LIBCPP_CXX03_LANG template param_type(initializer_list __bl, _UnaryOperation __fw); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template param_type(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperation __fw); @@ -6449,7 +6449,7 @@ public: piecewise_constant_distribution(initializer_list __bl, _UnaryOperation __fw) : __p_(__bl, __fw) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template _LIBCPP_INLINE_VISIBILITY @@ -6604,7 +6604,7 @@ piecewise_constant_distribution<_RealType>::param_type::param_type( } } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -6718,7 +6718,7 @@ public: #ifndef _LIBCPP_CXX03_LANG template param_type(initializer_list __bl, _UnaryOperation __fw); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template param_type(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperation __fw); @@ -6775,7 +6775,7 @@ public: piecewise_linear_distribution(initializer_list __bl, _UnaryOperation __fw) : __p_(__bl, __fw) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template _LIBCPP_INLINE_VISIBILITY @@ -6934,7 +6934,7 @@ piecewise_linear_distribution<_RealType>::param_type::param_type( } } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -7040,4 +7040,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_RANDOM +#endif // _LIBCPP_RANDOM diff --git a/libcxx/include/ratio b/libcxx/include/ratio index fa7a4bbb2fac..c9676003af6b 100644 --- a/libcxx/include/ratio +++ b/libcxx/include/ratio @@ -312,7 +312,7 @@ template struct _LIBCPP_TEMPLATE_VIS ratio_multiply : public __ratio_multiply<_R1, _R2>::type {}; -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template struct __ratio_divide @@ -339,7 +339,7 @@ template struct _LIBCPP_TEMPLATE_VIS ratio_divide : public __ratio_divide<_R1, _R2>::type {}; -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template struct __ratio_add @@ -374,7 +374,7 @@ template struct _LIBCPP_TEMPLATE_VIS ratio_add : public __ratio_add<_R1, _R2>::type {}; -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template struct __ratio_subtract @@ -409,7 +409,7 @@ template struct _LIBCPP_TEMPLATE_VIS ratio_subtract : public __ratio_subtract<_R1, _R2>::type {}; -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG // ratio_equal @@ -529,4 +529,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_RATIO +#endif // _LIBCPP_RATIO diff --git a/libcxx/include/regex b/libcxx/include/regex index 466146d6d141..6104ce3bcc4e 100644 --- a/libcxx/include/regex +++ b/libcxx/include/regex @@ -2635,7 +2635,7 @@ public: { __init(__il.begin(), __il.end()); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG // ~basic_regex() = default; @@ -2648,7 +2648,7 @@ public: _LIBCPP_INLINE_VISIBILITY basic_regex& operator=(initializer_list __il) {return assign(__il);} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template _LIBCPP_INLINE_VISIBILITY basic_regex& operator=(const basic_string& __p) @@ -2722,7 +2722,7 @@ public: flag_type __f = regex_constants::ECMAScript) {return assign(__il.begin(), __il.end(), __f);} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG // const operations: _LIBCPP_INLINE_VISIBILITY @@ -6443,7 +6443,7 @@ public: regex_constants::match_flag_type __m = regex_constants::match_default) = delete; #endif -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template regex_token_iterator(_BidirectionalIterator __a, _BidirectionalIterator __b, @@ -6558,7 +6558,7 @@ regex_token_iterator<_BidirectionalIterator, _CharT, _Traits>:: __init(__a, __b); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -6775,4 +6775,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_REGEX +#endif // _LIBCPP_REGEX diff --git a/libcxx/include/scoped_allocator b/libcxx/include/scoped_allocator index 237cd428d111..3bf2442c4e2c 100644 --- a/libcxx/include/scoped_allocator +++ b/libcxx/include/scoped_allocator @@ -676,8 +676,8 @@ operator!=(const scoped_allocator_adaptor<_OuterA1, _InnerAllocs...>& __a, return !(__a == __b); } -#endif // !defined(_LIBCPP_CXX03_LANG) +#endif // !defined(_LIBCPP_CXX03_LANG) _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_SCOPED_ALLOCATOR +#endif // _LIBCPP_SCOPED_ALLOCATOR diff --git a/libcxx/include/set b/libcxx/include/set index 5c5bcf3617fa..0a1cc0618d9c 100644 --- a/libcxx/include/set +++ b/libcxx/include/set @@ -557,7 +557,7 @@ public: set(set&& __s) _NOEXCEPT_(is_nothrow_move_constructible<__base>::value) : __tree_(_VSTD::move(__s.__tree_)) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit set(const allocator_type& __a) @@ -608,7 +608,7 @@ public: __tree_ = _VSTD::move(__s.__tree_); return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY ~set() { @@ -663,7 +663,7 @@ public: _LIBCPP_INLINE_VISIBILITY iterator emplace_hint(const_iterator __p, _Args&&... __args) {return __tree_.__emplace_hint_unique(__p, _VSTD::forward<_Args>(__args)...);} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY pair insert(const value_type& __v) @@ -692,7 +692,7 @@ public: _LIBCPP_INLINE_VISIBILITY void insert(initializer_list __il) {insert(__il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY iterator erase(const_iterator __p) {return __tree_.erase(__p);} @@ -907,7 +907,7 @@ set<_Key, _Compare, _Allocator>::set(set&& __s, const allocator_type& __a) } } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline _LIBCPP_INLINE_VISIBILITY @@ -1092,7 +1092,7 @@ public: : __tree_(_VSTD::move(__s.__tree_)) {} multiset(multiset&& __s, const allocator_type& __a); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit multiset(const allocator_type& __a) : __tree_(__a) {} @@ -1139,7 +1139,7 @@ public: __tree_ = _VSTD::move(__s.__tree_); return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY ~multiset() { @@ -1194,7 +1194,7 @@ public: _LIBCPP_INLINE_VISIBILITY iterator emplace_hint(const_iterator __p, _Args&&... __args) {return __tree_.__emplace_hint_multi(__p, _VSTD::forward<_Args>(__args)...);} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY iterator insert(const value_type& __v) @@ -1223,7 +1223,7 @@ public: _LIBCPP_INLINE_VISIBILITY void insert(initializer_list __il) {insert(__il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY iterator erase(const_iterator __p) {return __tree_.erase(__p);} @@ -1438,7 +1438,7 @@ multiset<_Key, _Compare, _Allocator>::multiset(multiset&& __s, const allocator_t } } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline _LIBCPP_INLINE_VISIBILITY @@ -1515,4 +1515,4 @@ inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_SET +#endif // _LIBCPP_SET diff --git a/libcxx/include/setjmp.h b/libcxx/include/setjmp.h index f30a8d401d1a..f9fb2ffe00b2 100644 --- a/libcxx/include/setjmp.h +++ b/libcxx/include/setjmp.h @@ -41,4 +41,4 @@ void longjmp(jmp_buf env, int val); #endif // __cplusplus -#endif // _LIBCPP_SETJMP_H +#endif // _LIBCPP_SETJMP_H diff --git a/libcxx/include/shared_mutex b/libcxx/include/shared_mutex index 5448d8a80715..72a0ffab5ca2 100644 --- a/libcxx/include/shared_mutex +++ b/libcxx/include/shared_mutex @@ -500,10 +500,10 @@ swap(shared_lock<_Mutex>& __x, shared_lock<_Mutex>& __y) _NOEXCEPT _LIBCPP_END_NAMESPACE_STD -#endif // !_LIBCPP_HAS_NO_THREADS +#endif // !_LIBCPP_HAS_NO_THREADS -#endif // _LIBCPP_STD_VER > 11 +#endif // _LIBCPP_STD_VER > 11 _LIBCPP_POP_MACROS -#endif // _LIBCPP_SHARED_MUTEX +#endif // _LIBCPP_SHARED_MUTEX diff --git a/libcxx/include/sstream b/libcxx/include/sstream index 7ce85be6ac32..0b739f4b682c 100644 --- a/libcxx/include/sstream +++ b/libcxx/include/sstream @@ -542,7 +542,7 @@ basic_stringbuf<_CharT, _Traits, _Allocator>::overflow(int_type __c) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS ptrdiff_t __nout = this->pptr() - this->pbase(); ptrdiff_t __hm = __hm_ - this->pbase(); __str_.push_back(char_type()); @@ -557,7 +557,7 @@ basic_stringbuf<_CharT, _Traits, _Allocator>::overflow(int_type __c) { return traits_type::eof(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } __hm_ = _VSTD::max(this->pptr() + 1, __hm_); if (__mode_ & ios_base::in) @@ -892,4 +892,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_SSTREAM +#endif // _LIBCPP_SSTREAM diff --git a/libcxx/include/stack b/libcxx/include/stack index ff97e2e43e56..a45b979dea9c 100644 --- a/libcxx/include/stack +++ b/libcxx/include/stack @@ -148,7 +148,7 @@ public: _LIBCPP_INLINE_VISIBILITY explicit stack(container_type&& __c) : c(_VSTD::move(__c)) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY explicit stack(const container_type& __c) : c(__c) {} @@ -179,7 +179,7 @@ public: stack(stack&& __s, const _Alloc& __a, _EnableIf::value>* = 0) : c(_VSTD::move(__s.c), __a) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY bool empty() const {return c.empty();} @@ -205,7 +205,7 @@ public: void emplace(_Args&&... __args) { c.emplace_back(_VSTD::forward<_Args>(__args)...);} #endif -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY void pop() {c.pop_back();} @@ -310,4 +310,4 @@ struct _LIBCPP_TEMPLATE_VIS uses_allocator, _Alloc> _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_STACK +#endif // _LIBCPP_STACK diff --git a/libcxx/include/stdbool.h b/libcxx/include/stdbool.h index 81a7cb3038b8..69f7719f26cd 100644 --- a/libcxx/include/stdbool.h +++ b/libcxx/include/stdbool.h @@ -35,4 +35,4 @@ Macros: #define __bool_true_false_are_defined 1 #endif -#endif // _LIBCPP_STDBOOL_H +#endif // _LIBCPP_STDBOOL_H diff --git a/libcxx/include/stddef.h b/libcxx/include/stddef.h index 35c680b4f9a9..2f8c0a5f5bf2 100644 --- a/libcxx/include/stddef.h +++ b/libcxx/include/stddef.h @@ -53,4 +53,4 @@ using std::nullptr_t; #endif -#endif // _LIBCPP_STDDEF_H +#endif // _LIBCPP_STDDEF_H diff --git a/libcxx/include/stdexcept b/libcxx/include/stdexcept index 7b5de7ea367c..8eb7280e5a9f 100644 --- a/libcxx/include/stdexcept +++ b/libcxx/include/stdexcept @@ -306,4 +306,4 @@ void __throw_underflow_error(const char*__msg) _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_STDEXCEPT +#endif // _LIBCPP_STDEXCEPT diff --git a/libcxx/include/stdint.h b/libcxx/include/stdint.h index d7b6902518ae..5d64910bfe55 100644 --- a/libcxx/include/stdint.h +++ b/libcxx/include/stdint.h @@ -122,4 +122,4 @@ Macros: #include_next -#endif // _LIBCPP_STDINT_H +#endif // _LIBCPP_STDINT_H diff --git a/libcxx/include/stdio.h b/libcxx/include/stdio.h index e08e6bc9b698..f84122034891 100644 --- a/libcxx/include/stdio.h +++ b/libcxx/include/stdio.h @@ -116,4 +116,4 @@ void perror(const char* s); #endif -#endif // _LIBCPP_STDIO_H +#endif // _LIBCPP_STDIO_H diff --git a/libcxx/include/stdlib.h b/libcxx/include/stdlib.h index 9ce0485c14a9..242eedc22a5b 100644 --- a/libcxx/include/stdlib.h +++ b/libcxx/include/stdlib.h @@ -150,6 +150,6 @@ inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, #endif // _LIBCPP_HAS_NO_LONG_LONG #endif // _LIBCPP_MSVCRT / __sun__ } // extern "C++" -#endif // __cplusplus +#endif // __cplusplus -#endif // _LIBCPP_STDLIB_H +#endif // _LIBCPP_STDLIB_H diff --git a/libcxx/include/streambuf b/libcxx/include/streambuf index 6cdbdb738f87..ee1afac645fe 100644 --- a/libcxx/include/streambuf +++ b/libcxx/include/streambuf @@ -495,4 +495,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_STREAMBUF +#endif // _LIBCPP_STREAMBUF diff --git a/libcxx/include/string b/libcxx/include/string index 336922ebefb1..d8d810605776 100644 --- a/libcxx/include/string +++ b/libcxx/include/string @@ -675,7 +675,7 @@ struct __padding<_CharT, 1> { }; -#endif // _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT +#endif // _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT #ifndef _LIBCPP_NO_HAS_CHAR8_T typedef basic_string u8string; @@ -684,7 +684,7 @@ typedef basic_string u8string; #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS typedef basic_string u16string; typedef basic_string u32string; -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS template class @@ -743,7 +743,7 @@ private: #else // _LIBCPP_BIG_ENDIAN static const size_type __short_mask = 0x80; static const size_type __long_mask = ~(size_type(~0) >> 1); -#endif // _LIBCPP_BIG_ENDIAN +#endif // _LIBCPP_BIG_ENDIAN enum {__min_cap = (sizeof(__long) - 1)/sizeof(value_type) > 2 ? (sizeof(__long) - 1)/sizeof(value_type) : 2}; @@ -773,7 +773,7 @@ private: #else // _LIBCPP_BIG_ENDIAN static const size_type __short_mask = 0x01; static const size_type __long_mask = 0x1ul; -#endif // _LIBCPP_BIG_ENDIAN +#endif // _LIBCPP_BIG_ENDIAN enum {__min_cap = (sizeof(__long) - 1)/sizeof(value_type) > 2 ? (sizeof(__long) - 1)/sizeof(value_type) : 2}; @@ -788,7 +788,7 @@ private: value_type __data_[__min_cap]; }; -#endif // _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT +#endif // _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT union __ulx{__long __lx; __short __lxx;}; @@ -839,7 +839,7 @@ public: _LIBCPP_INLINE_VISIBILITY basic_string(basic_string&& __str, const allocator_type& __a); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template ::value, nullptr_t> > _LIBCPP_INLINE_VISIBILITY @@ -897,7 +897,7 @@ public: basic_string(initializer_list<_CharT> __il); _LIBCPP_INLINE_VISIBILITY basic_string(initializer_list<_CharT> __il, const _Allocator& __a); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG inline ~basic_string(); @@ -946,7 +946,7 @@ public: _LIBCPP_INLINE_VISIBILITY const_iterator end() const _NOEXCEPT {return const_iterator(__get_pointer() + size());} -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 _LIBCPP_INLINE_VISIBILITY reverse_iterator rbegin() _NOEXCEPT {return reverse_iterator(end());} @@ -1017,7 +1017,7 @@ public: _LIBCPP_INLINE_VISIBILITY basic_string& operator+=(value_type __c) {push_back(__c); return *this;} #ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY basic_string& operator+=(initializer_list __il) {return append(__il);} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY basic_string& append(const basic_string& __str); @@ -1081,7 +1081,7 @@ public: #ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY basic_string& append(initializer_list __il) {return append(__il.begin(), __il.size());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG void push_back(value_type __c); _LIBCPP_INLINE_VISIBILITY @@ -1141,7 +1141,7 @@ public: #ifndef _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY basic_string& assign(initializer_list __il) {return assign(__il.begin(), __il.size());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY basic_string& insert(size_type __pos1, const basic_string& __str); @@ -1193,7 +1193,7 @@ public: _LIBCPP_INLINE_VISIBILITY iterator insert(const_iterator __pos, initializer_list __il) {return insert(__pos, __il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG basic_string& erase(size_type __pos = 0, size_type __n = npos); _LIBCPP_INLINE_VISIBILITY @@ -1254,7 +1254,7 @@ public: _LIBCPP_INLINE_VISIBILITY basic_string& replace(const_iterator __i1, const_iterator __i2, initializer_list __il) {return replace(__i1, __i2, __il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG size_type copy(value_type* __s, size_type __n, size_type __pos = 0) const; _LIBCPP_INLINE_VISIBILITY @@ -1475,7 +1475,7 @@ public: bool __addable(const const_iterator* __i, ptrdiff_t __n) const; bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const; -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 private: _LIBCPP_INLINE_VISIBILITY @@ -1521,7 +1521,7 @@ private: {return __r_.first().__s.__size_ >> 1;} # endif -#endif // _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT +#endif // _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT _LIBCPP_INLINE_VISIBILITY void __set_long_size(size_type __s) _NOEXCEPT @@ -1804,7 +1804,7 @@ basic_string<_CharT, _Traits, _Allocator>::__invalidate_iterators_past(size_type } __get_db()->unlock(); } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 } template @@ -2008,7 +2008,7 @@ basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str, co #endif } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template void @@ -2136,7 +2136,7 @@ basic_string<_CharT, _Traits, _Allocator>::__init(_InputIterator __first, _Input #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (; __first != __last; ++__first) push_back(*__first); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2147,7 +2147,7 @@ basic_string<_CharT, _Traits, _Allocator>::__init(_InputIterator __first, _Input __alloc_traits::deallocate(__alloc(), __get_long_pointer(), __get_long_cap()); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -2232,7 +2232,7 @@ basic_string<_CharT, _Traits, _Allocator>::basic_string( #endif } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template basic_string<_CharT, _Traits, _Allocator>::~basic_string() @@ -3360,7 +3360,7 @@ basic_string<_CharT, _Traits, _Allocator>::__shrink_or_extend(size_type __target #ifndef _LIBCPP_NO_EXCEPTIONS try { - #endif // _LIBCPP_NO_EXCEPTIONS + #endif // _LIBCPP_NO_EXCEPTIONS __new_data = __alloc_traits::allocate(__alloc(), __target_capacity+1); #ifndef _LIBCPP_NO_EXCEPTIONS } @@ -3371,7 +3371,7 @@ basic_string<_CharT, _Traits, _Allocator>::__shrink_or_extend(size_type __target #else // _LIBCPP_NO_EXCEPTIONS if (__new_data == nullptr) return; - #endif // _LIBCPP_NO_EXCEPTIONS + #endif // _LIBCPP_NO_EXCEPTIONS } __now_long = true; __was_long = __is_long(); @@ -4356,7 +4356,7 @@ operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, _CharT __rhs) return _VSTD::move(__lhs); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG // swap @@ -4462,7 +4462,7 @@ basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>&& __is, basic_string<_CharT, _Traits, _Allocator>& __str); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 17 template @@ -4520,7 +4520,7 @@ basic_string<_CharT, _Traits, _Allocator>::__subscriptable(const const_iterator* return this->data() <= __p && __p < this->data() + this->size(); } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 #if _LIBCPP_STD_VER > 11 // Literal suffixes for basic_string [basic.string.literals] @@ -4567,4 +4567,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_STRING +#endif // _LIBCPP_STRING diff --git a/libcxx/include/string.h b/libcxx/include/string.h index e09251d06405..2d563444b7f9 100644 --- a/libcxx/include/string.h +++ b/libcxx/include/string.h @@ -106,4 +106,4 @@ inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_PREFERRED_OVERLOAD } #endif -#endif // _LIBCPP_STRING_H +#endif // _LIBCPP_STRING_H diff --git a/libcxx/include/strstream b/libcxx/include/strstream index 0062777cd437..cbcce4ad15b5 100644 --- a/libcxx/include/strstream +++ b/libcxx/include/strstream @@ -163,7 +163,7 @@ public: strstreambuf(strstreambuf&& __rhs); _LIBCPP_INLINE_VISIBILITY strstreambuf& operator=(strstreambuf&& __rhs); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG virtual ~strstreambuf(); @@ -233,7 +233,7 @@ strstreambuf::operator=(strstreambuf&& __rhs) return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG class _LIBCPP_TYPE_VIS istrstream : public istream @@ -268,7 +268,7 @@ public: __sb_ = _VSTD::move(__rhs.__sb_); return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG virtual ~istrstream(); @@ -317,7 +317,7 @@ public: __sb_ = _VSTD::move(__rhs.__sb_); return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG virtual ~ostrstream(); @@ -377,7 +377,7 @@ public: __sb_ = _VSTD::move(__rhs.__sb_); return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG virtual ~strstream(); @@ -404,4 +404,4 @@ private: _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_STRSTREAM +#endif // _LIBCPP_STRSTREAM diff --git a/libcxx/include/system_error b/libcxx/include/system_error index 9f3d8acdcb89..b62e2a1e770d 100644 --- a/libcxx/include/system_error +++ b/libcxx/include/system_error @@ -486,4 +486,4 @@ void __throw_system_error(int ev, const char* what_arg); _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_SYSTEM_ERROR +#endif // _LIBCPP_SYSTEM_ERROR diff --git a/libcxx/include/tgmath.h b/libcxx/include/tgmath.h index 2dc1f771d91c..ba9396e6abb7 100644 --- a/libcxx/include/tgmath.h +++ b/libcxx/include/tgmath.h @@ -31,6 +31,6 @@ #include_next -#endif // __cplusplus +#endif // __cplusplus -#endif // _LIBCPP_TGMATH_H +#endif // _LIBCPP_TGMATH_H diff --git a/libcxx/include/thread b/libcxx/include/thread index ff3c7463c094..89a9c61e4a85 100644 --- a/libcxx/include/thread +++ b/libcxx/include/thread @@ -346,7 +346,7 @@ thread::thread(_Fp __f) __throw_system_error(__ec, "thread constructor failed"); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG inline _LIBCPP_INLINE_VISIBILITY void swap(thread& __x, thread& __y) _NOEXCEPT {__x.swap(__y);} @@ -410,4 +410,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_THREAD +#endif // _LIBCPP_THREAD diff --git a/libcxx/include/tuple b/libcxx/include/tuple index 61ff2125623f..2b11a3f80e4a 100644 --- a/libcxx/include/tuple +++ b/libcxx/include/tuple @@ -1509,4 +1509,4 @@ _LIBCPP_NOEXCEPT_RETURN( _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_TUPLE +#endif // _LIBCPP_TUPLE diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index 38cad3312bcf..9ba5d25abc25 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -1766,7 +1766,7 @@ template struct _LIBCPP_TEMPLATE_VIS is_convertible static const size_t __complete_check2 = __is_convertible_check<_T2>::__v; }; -#endif // __has_feature(is_convertible_to) +#endif // __has_feature(is_convertible_to) #if _LIBCPP_STD_VER > 14 && !defined(_LIBCPP_HAS_NO_VARIABLE_TEMPLATES) template @@ -1829,7 +1829,7 @@ template struct __libcpp_empty<_Tp, false> : public false_type {}; template struct _LIBCPP_TEMPLATE_VIS is_empty : public __libcpp_empty<_Tp> {}; -#endif // __has_feature(is_empty) +#endif // __has_feature(is_empty) #if _LIBCPP_STD_VER > 14 && !defined(_LIBCPP_HAS_NO_VARIABLE_TEMPLATES) template @@ -2677,7 +2677,7 @@ _LIBCPP_INLINE_VAR _LIBCPP_CONSTEXPR bool is_assignable_v = is_assignable<_Tp, _Arg>::value; #endif -#endif // __has_keyword(__is_assignable) +#endif // __has_keyword(__is_assignable) // is_copy_assignable @@ -3017,7 +3017,7 @@ struct __member_pointer_traits_imp<_Rp (_Class::*)(_Param..., ...) const volatil typedef _Rp (_FnType) (_Param..., ...); }; -#endif // __has_feature(cxx_reference_qualified_functions) || defined(_LIBCPP_COMPILER_GCC) +#endif // __has_feature(cxx_reference_qualified_functions) || defined(_LIBCPP_COMPILER_GCC) template @@ -3294,7 +3294,7 @@ struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible<_Tp, _Tp&> { }; -#endif // !__has_feature(is_trivially_constructible) +#endif // !__has_feature(is_trivially_constructible) #if _LIBCPP_STD_VER > 14 && !defined(_LIBCPP_HAS_NO_VARIABLE_TEMPLATES) @@ -3371,7 +3371,7 @@ template struct is_trivially_assignable<_Tp&, _Tp&&> : integral_constant::value> {}; -#endif // !__has_feature(is_trivially_assignable) +#endif // !__has_feature(is_trivially_assignable) #if _LIBCPP_STD_VER > 14 && !defined(_LIBCPP_HAS_NO_VARIABLE_TEMPLATES) template @@ -3481,7 +3481,7 @@ struct _LIBCPP_TEMPLATE_VIS is_nothrow_constructible<_Tp[_Ns]> { }; -#endif // _LIBCPP_HAS_NO_NOEXCEPT +#endif // _LIBCPP_HAS_NO_NOEXCEPT #if _LIBCPP_STD_VER > 14 && !defined(_LIBCPP_HAS_NO_VARIABLE_TEMPLATES) @@ -3556,7 +3556,7 @@ struct _LIBCPP_TEMPLATE_VIS is_nothrow_assignable { }; -#endif // _LIBCPP_HAS_NO_NOEXCEPT +#endif // _LIBCPP_HAS_NO_NOEXCEPT #if _LIBCPP_STD_VER > 14 && !defined(_LIBCPP_HAS_NO_VARIABLE_TEMPLATES) template @@ -4088,7 +4088,7 @@ class _LIBCPP_TEMPLATE_VIS result_of<_Fn(_Args...)> { }; -#endif // C++03 +#endif // C++03 #if _LIBCPP_STD_VER > 11 template using result_of_t = typename result_of<_Tp>::type; @@ -4415,7 +4415,7 @@ struct __has_operator_addressof || __has_operator_addressof_free_imp<_Tp>::value> {}; -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG // is_scoped_enum [meta.unary.prop] @@ -4455,7 +4455,7 @@ struct negation : _Not<_Tp> {}; template _LIBCPP_INLINE_VAR constexpr bool negation_v = negation<_Tp>::value; -#endif // _LIBCPP_STD_VER > 14 +#endif // _LIBCPP_STD_VER > 14 // These traits are used in __tree and __hash_table struct __extract_key_fail_tag {}; @@ -4519,4 +4519,4 @@ namespace std // purposefully not versioned } #endif -#endif // _LIBCPP_TYPE_TRAITS +#endif // _LIBCPP_TYPE_TRAITS diff --git a/libcxx/include/typeindex b/libcxx/include/typeindex index a8d582e4f709..e83a4888e09c 100644 --- a/libcxx/include/typeindex +++ b/libcxx/include/typeindex @@ -100,4 +100,4 @@ struct _LIBCPP_TEMPLATE_VIS hash _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_TYPEINDEX +#endif // _LIBCPP_TYPEINDEX diff --git a/libcxx/include/typeinfo b/libcxx/include/typeinfo index 966cc9210cc5..70f372aacfe9 100644 --- a/libcxx/include/typeinfo +++ b/libcxx/include/typeinfo @@ -376,4 +376,4 @@ void __throw_bad_cast() } _LIBCPP_END_NAMESPACE_STD -#endif // __LIBCPP_TYPEINFO +#endif // __LIBCPP_TYPEINFO diff --git a/libcxx/include/unordered_map b/libcxx/include/unordered_map index d061e527560c..c631ed0897d4 100644 --- a/libcxx/include/unordered_map +++ b/libcxx/include/unordered_map @@ -686,7 +686,7 @@ public: { const_cast(__x.__value_constructed) = false; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY void operator()(pointer __p) _NOEXCEPT @@ -1015,7 +1015,7 @@ public: unordered_map(initializer_list __il, size_type __n, const hasher& __hf, const key_equal& __eql, const allocator_type& __a); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 11 _LIBCPP_INLINE_VISIBILITY unordered_map(size_type __n, const allocator_type& __a) @@ -1068,7 +1068,7 @@ public: _NOEXCEPT_(is_nothrow_move_assignable<__table>::value); _LIBCPP_INLINE_VISIBILITY unordered_map& operator=(initializer_list __il); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY allocator_type get_allocator() const _NOEXCEPT @@ -1173,7 +1173,7 @@ public: return __table_.__emplace_unique(_VSTD::forward<_Args>(__args)...).first; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 14 template @@ -1454,7 +1454,7 @@ public: bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const {return __table_.__addable(&__i->__i_, __n);} -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 private: @@ -1720,7 +1720,7 @@ unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=( return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -1780,7 +1780,7 @@ unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k) return __r.first->second; } -#endif // _LIBCPP_CXX03_MODE +#endif // _LIBCPP_CXX03_MODE template _Tp& @@ -1950,7 +1950,7 @@ public: unordered_multimap(initializer_list __il, size_type __n, const hasher& __hf, const key_equal& __eql, const allocator_type& __a); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 11 _LIBCPP_INLINE_VISIBILITY unordered_multimap(size_type __n, const allocator_type& __a) @@ -2003,7 +2003,7 @@ public: _NOEXCEPT_(is_nothrow_move_assignable<__table>::value); _LIBCPP_INLINE_VISIBILITY unordered_multimap& operator=(initializer_list __il); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY allocator_type get_allocator() const _NOEXCEPT @@ -2072,7 +2072,7 @@ public: iterator emplace_hint(const_iterator __p, _Args&&... __args) { return __table_.__emplace_hint_multi(__p.__i_, _VSTD::forward<_Args>(__args)...); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY @@ -2257,7 +2257,7 @@ public: bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const {return __table_.__addable(&__i->__i_, __n);} -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 }; @@ -2520,7 +2520,7 @@ unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=( return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG @@ -2590,4 +2590,4 @@ operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_UNORDERED_MAP +#endif // _LIBCPP_UNORDERED_MAP diff --git a/libcxx/include/unordered_set b/libcxx/include/unordered_set index 99943f355a6e..14919e476512 100644 --- a/libcxx/include/unordered_set +++ b/libcxx/include/unordered_set @@ -514,7 +514,7 @@ public: const hasher& __hf, const allocator_type& __a) : unordered_set(__il, __n, __hf, key_equal(), __a) {} #endif -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY ~unordered_set() { static_assert(sizeof(__diagnose_unordered_container_requirements<_Value, _Hash, _Pred>(0)), ""); @@ -532,7 +532,7 @@ public: _NOEXCEPT_(is_nothrow_move_assignable<__table>::value); _LIBCPP_INLINE_VISIBILITY unordered_set& operator=(initializer_list __il); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY allocator_type get_allocator() const _NOEXCEPT @@ -597,7 +597,7 @@ public: _LIBCPP_INLINE_VISIBILITY void insert(initializer_list __il) {insert(__il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY pair insert(const value_type& __x) {return __table_.__insert_unique(__x);} @@ -794,7 +794,7 @@ public: bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const {return __table_.__addable(__i, __n);} -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 }; @@ -1041,7 +1041,7 @@ unordered_set<_Value, _Hash, _Pred, _Alloc>::operator=( return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -1210,7 +1210,7 @@ public: unordered_multiset(initializer_list __il, size_type __n, const hasher& __hf, const allocator_type& __a) : unordered_multiset(__il, __n, __hf, key_equal(), __a) {} #endif -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY ~unordered_multiset() { static_assert(sizeof(__diagnose_unordered_container_requirements<_Value, _Hash, _Pred>(0)), ""); @@ -1227,7 +1227,7 @@ public: unordered_multiset& operator=(unordered_multiset&& __u) _NOEXCEPT_(is_nothrow_move_assignable<__table>::value); unordered_multiset& operator=(initializer_list __il); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY allocator_type get_allocator() const _NOEXCEPT @@ -1271,7 +1271,7 @@ public: _LIBCPP_INLINE_VISIBILITY void insert(initializer_list __il) {insert(__il.begin(), __il.end());} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY iterator insert(const value_type& __x) {return __table_.__insert_multi(__x);} @@ -1460,7 +1460,7 @@ public: bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const {return __table_.__addable(__i, __n);} -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 }; @@ -1707,7 +1707,7 @@ unordered_multiset<_Value, _Hash, _Pred, _Alloc>::operator=( return *this; } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template template @@ -1775,4 +1775,4 @@ operator!=(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_UNORDERED_SET +#endif // _LIBCPP_UNORDERED_SET diff --git a/libcxx/include/utility b/libcxx/include/utility index a49826e5990b..ba4e21675037 100644 --- a/libcxx/include/utility +++ b/libcxx/include/utility @@ -773,7 +773,7 @@ make_pair(_T1 __x, _T2 __y) return pair<_T1, _T2>(__x, __y); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template struct _LIBCPP_TEMPLATE_VIS tuple_size > @@ -826,7 +826,7 @@ struct __get_pair<0> _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 const _T1&& get(const pair<_T1, _T2>&& __p) _NOEXCEPT {return _VSTD::forward(__p.first);} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG }; template <> @@ -856,7 +856,7 @@ struct __get_pair<1> _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 const _T2&& get(const pair<_T1, _T2>&& __p) _NOEXCEPT {return _VSTD::forward(__p.second);} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG }; template @@ -891,7 +891,7 @@ get(const pair<_T1, _T2>&& __p) _NOEXCEPT { return __get_pair<_Ip>::get(_VSTD::move(__p)); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG #if _LIBCPP_STD_VER > 11 template @@ -1005,7 +1005,7 @@ template template using index_sequence_for = make_index_sequence; -#endif // _LIBCPP_STD_VER > 11 +#endif // _LIBCPP_STD_VER > 11 #if _LIBCPP_STD_VER > 11 template @@ -1016,7 +1016,7 @@ _T1 exchange(_T1& __obj, _T2 && __new_value) __obj = _VSTD::forward<_T2>(__new_value); return __old_value; } -#endif // _LIBCPP_STD_VER > 11 +#endif // _LIBCPP_STD_VER > 11 #if _LIBCPP_STD_VER > 14 @@ -1488,7 +1488,7 @@ struct _LIBCPP_TEMPLATE_VIS hash size_t operator()(char32_t __v) const _NOEXCEPT {return static_cast(__v);} }; -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS template <> struct _LIBCPP_TEMPLATE_VIS hash @@ -1737,4 +1737,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_UTILITY +#endif // _LIBCPP_UTILITY diff --git a/libcxx/include/valarray b/libcxx/include/valarray index 787d8aca2f8e..6405a7e5498d 100644 --- a/libcxx/include/valarray +++ b/libcxx/include/valarray @@ -814,7 +814,7 @@ public: _LIBCPP_INLINE_VISIBILITY valarray(valarray&& __v) _NOEXCEPT; valarray(initializer_list __il); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG valarray(const slice_array& __sa); valarray(const gslice_array& __ga); valarray(const mask_array& __ma); @@ -829,7 +829,7 @@ public: valarray& operator=(valarray&& __v) _NOEXCEPT; _LIBCPP_INLINE_VISIBILITY valarray& operator=(initializer_list); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY valarray& operator=(const value_type& __x); _LIBCPP_INLINE_VISIBILITY @@ -865,7 +865,7 @@ public: __val_expr<__indirect_expr > operator[](gslice&& __gs) const; _LIBCPP_INLINE_VISIBILITY gslice_array operator[](gslice&& __gs); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY __val_expr<__mask_expr > operator[](const valarray& __vb) const; _LIBCPP_INLINE_VISIBILITY @@ -875,7 +875,7 @@ public: __val_expr<__mask_expr > operator[](valarray&& __vb) const; _LIBCPP_INLINE_VISIBILITY mask_array operator[](valarray&& __vb); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY __val_expr<__indirect_expr > operator[](const valarray& __vs) const; _LIBCPP_INLINE_VISIBILITY @@ -885,7 +885,7 @@ public: __val_expr<__indirect_expr > operator[](valarray&& __vs) const; _LIBCPP_INLINE_VISIBILITY indirect_array operator[](valarray&& __vs); -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG // unary operators: valarray operator+() const; @@ -1518,7 +1518,7 @@ public: __stride_(move(__stride)) {__init(__start);} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG _LIBCPP_INLINE_VISIBILITY size_t start() const {return __1d_.size() ? __1d_[0] : 0;} @@ -1668,7 +1668,7 @@ private: : __vp_(const_cast(__v.__begin_)), __1d_(move(__gs.__1d_)) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template friend class valarray; }; @@ -2363,7 +2363,7 @@ private: __1d_(move(__ia)) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template friend class valarray; }; @@ -2582,7 +2582,7 @@ private: __1d_(move(__ia)) {} -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG public: _LIBCPP_INLINE_VISIBILITY @@ -2772,7 +2772,7 @@ valarray<_Tp>::valarray(size_t __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (size_t __n_left = __n; __n_left; --__n_left, ++__end_) ::new ((void*)__end_) value_type(); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2782,7 +2782,7 @@ valarray<_Tp>::valarray(size_t __n) __clear(__n); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -2806,7 +2806,7 @@ valarray<_Tp>::valarray(const value_type* __p, size_t __n) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (size_t __n_left = __n; __n_left; ++__end_, ++__p, --__n_left) ::new ((void*)__end_) value_type(*__p); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2816,7 +2816,7 @@ valarray<_Tp>::valarray(const value_type* __p, size_t __n) __clear(__n); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -2831,7 +2831,7 @@ valarray<_Tp>::valarray(const valarray& __v) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (value_type* __p = __v.__begin_; __p != __v.__end_; ++__end_, ++__p) ::new ((void*)__end_) value_type(*__p); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2841,7 +2841,7 @@ valarray<_Tp>::valarray(const valarray& __v) __clear(__v.size()); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -2868,7 +2868,7 @@ valarray<_Tp>::valarray(initializer_list __il) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS size_t __n_left = __n; for (const value_type* __p = __il.begin(); __n_left; ++__end_, ++__p, --__n_left) ::new ((void*)__end_) value_type(*__p); @@ -2879,11 +2879,11 @@ valarray<_Tp>::valarray(initializer_list __il) __clear(__n); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template valarray<_Tp>::valarray(const slice_array& __sa) @@ -2897,7 +2897,7 @@ valarray<_Tp>::valarray(const slice_array& __sa) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS size_t __n_left = __n; for (const value_type* __p = __sa.__vp_; __n_left; ++__end_, __p += __sa.__stride_, --__n_left) ::new ((void*)__end_) value_type(*__p); @@ -2908,7 +2908,7 @@ valarray<_Tp>::valarray(const slice_array& __sa) __clear(__n); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -2924,7 +2924,7 @@ valarray<_Tp>::valarray(const gslice_array& __ga) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typedef const size_t* _Ip; const value_type* __s = __ga.__vp_; for (_Ip __i = __ga.__1d_.__begin_, __e = __ga.__1d_.__end_; @@ -2937,7 +2937,7 @@ valarray<_Tp>::valarray(const gslice_array& __ga) __clear(__n); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -2953,7 +2953,7 @@ valarray<_Tp>::valarray(const mask_array& __ma) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typedef const size_t* _Ip; const value_type* __s = __ma.__vp_; for (_Ip __i = __ma.__1d_.__begin_, __e = __ma.__1d_.__end_; @@ -2966,7 +2966,7 @@ valarray<_Tp>::valarray(const mask_array& __ma) __clear(__n); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -2982,7 +2982,7 @@ valarray<_Tp>::valarray(const indirect_array& __ia) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS typedef const size_t* _Ip; const value_type* __s = __ia.__vp_; for (_Ip __i = __ia.__1d_.__begin_, __e = __ia.__1d_.__end_; @@ -2995,7 +2995,7 @@ valarray<_Tp>::valarray(const indirect_array& __ia) __clear(__n); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -3055,7 +3055,7 @@ valarray<_Tp>::operator=(initializer_list __il) return __assign_range(__il.begin(), __il.end()); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -3185,7 +3185,7 @@ valarray<_Tp>::operator[](gslice&& __gs) return gslice_array(move(__gs), *this); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -3221,7 +3221,7 @@ valarray<_Tp>::operator[](valarray&& __vb) return mask_array(move(__vb), *this); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template inline @@ -3257,7 +3257,7 @@ valarray<_Tp>::operator[](valarray&& __vs) return indirect_array(move(__vs), *this); } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template valarray<_Tp> @@ -3731,7 +3731,7 @@ valarray<_Tp>::resize(size_t __n, value_type __x) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (size_t __n_left = __n; __n_left; --__n_left, ++__end_) ::new ((void*)__end_) value_type(__x); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -3741,7 +3741,7 @@ valarray<_Tp>::resize(size_t __n, value_type __x) __clear(__n); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -4905,4 +4905,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_VALARRAY +#endif // _LIBCPP_VALARRAY diff --git a/libcxx/include/variant b/libcxx/include/variant index 43b6aa77fae6..2d4bb7481a9c 100644 --- a/libcxx/include/variant +++ b/libcxx/include/variant @@ -1765,10 +1765,10 @@ struct _LIBCPP_TEMPLATE_VIS hash { } }; -#endif // _LIBCPP_STD_VER > 14 +#endif // _LIBCPP_STD_VER > 14 _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_VARIANT +#endif // _LIBCPP_VARIANT diff --git a/libcxx/include/vector b/libcxx/include/vector index 2cd243ae87df..7ab97fadcee5 100644 --- a/libcxx/include/vector +++ b/libcxx/include/vector @@ -587,7 +587,7 @@ public: vector& operator=(initializer_list __il) {assign(__il.begin(), __il.end()); return *this;} -#endif // !_LIBCPP_CXX03_LANG +#endif // !_LIBCPP_CXX03_LANG template typename enable_if @@ -734,7 +734,7 @@ public: iterator insert(const_iterator __position, value_type&& __x); template iterator emplace(const_iterator __position, _Args&&... __args); -#endif // !_LIBCPP_CXX03_LANG +#endif // !_LIBCPP_CXX03_LANG iterator insert(const_iterator __position, size_type __n, const_reference __x); template @@ -797,7 +797,7 @@ public: bool __addable(const const_iterator* __i, ptrdiff_t __n) const; bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const; -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 private: _LIBCPP_INLINE_VISIBILITY void __invalidate_all_iterators(); @@ -1393,7 +1393,7 @@ vector<_Tp, _Allocator>::__move_assign(vector& __c, true_type) #endif } -#endif // !_LIBCPP_CXX03_LANG +#endif // !_LIBCPP_CXX03_LANG template inline _LIBCPP_INLINE_VISIBILITY @@ -1599,7 +1599,7 @@ vector<_Tp, _Allocator>::shrink_to_fit() _NOEXCEPT #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS allocator_type& __a = this->__alloc(); __split_buffer __v(size(), size(), __a); __swap_out_circular_buffer(__v); @@ -1608,7 +1608,7 @@ vector<_Tp, _Allocator>::shrink_to_fit() _NOEXCEPT catch (...) { } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -1691,7 +1691,7 @@ vector<_Tp, _Allocator>::emplace_back(_Args&&... __args) #endif } -#endif // !_LIBCPP_CXX03_LANG +#endif // !_LIBCPP_CXX03_LANG template inline @@ -1866,7 +1866,7 @@ vector<_Tp, _Allocator>::emplace(const_iterator __position, _Args&&... __args) return __make_iter(__p); } -#endif // !_LIBCPP_CXX03_LANG +#endif // !_LIBCPP_CXX03_LANG template typename vector<_Tp, _Allocator>::iterator @@ -1942,7 +1942,7 @@ vector<_Tp, _Allocator>::insert(const_iterator __position, _InputIterator __firs #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __v.__construct_at_end(__first, __last); difference_type __old_size = __old_last - this->__begin_; difference_type __old_p = __p - this->__begin_; @@ -1956,7 +1956,7 @@ vector<_Tp, _Allocator>::insert(const_iterator __position, _InputIterator __firs erase(__make_iter(__old_last), end()); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } __p = _VSTD::rotate(__p, __old_last, this->__end_); insert(__make_iter(__p), _VSTD::make_move_iterator(__v.begin()), @@ -2115,7 +2115,7 @@ vector<_Tp, _Allocator>::__subscriptable(const const_iterator* __i, ptrdiff_t __ return this->__begin_ <= __p && __p < this->__end_; } -#endif // _LIBCPP_DEBUG_LEVEL == 2 +#endif // _LIBCPP_DEBUG_LEVEL == 2 template inline _LIBCPP_INLINE_VISIBILITY @@ -2271,7 +2271,7 @@ public: vector& operator=(initializer_list __il) {assign(__il.begin(), __il.end()); return *this;} -#endif // !_LIBCPP_CXX03_LANG +#endif // !_LIBCPP_CXX03_LANG template typename enable_if @@ -2709,7 +2709,7 @@ vector::vector(_InputIterator __first, _InputIterator __last, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (; __first != __last; ++__first) push_back(*__first); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2721,7 +2721,7 @@ vector::vector(_InputIterator __first, _InputIterator __last, __invalidate_all_iterators(); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -2736,7 +2736,7 @@ vector::vector(_InputIterator __first, _InputIterator __last, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS for (; __first != __last; ++__first) push_back(*__first); #ifndef _LIBCPP_NO_EXCEPTIONS @@ -2748,7 +2748,7 @@ vector::vector(_InputIterator __first, _InputIterator __last, __invalidate_all_iterators(); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -2813,7 +2813,7 @@ vector::vector(initializer_list __il, const alloca } } -#endif // _LIBCPP_CXX03_LANG +#endif // _LIBCPP_CXX03_LANG template vector::~vector() @@ -2943,7 +2943,7 @@ vector::__move_assign(vector& __c, true_type) __c.__cap() = __c.__size_ = 0; } -#endif // !_LIBCPP_CXX03_LANG +#endif // !_LIBCPP_CXX03_LANG template void @@ -3029,14 +3029,14 @@ vector::shrink_to_fit() _NOEXCEPT #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS vector(*this, allocator_type(__alloc())).swap(*this); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } } @@ -3143,7 +3143,7 @@ vector::insert(const_iterator __position, _InputIterator __fir #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __v.assign(__first, __last); difference_type __old_size = static_cast(__old_end - begin()); difference_type __old_p = __p - begin(); @@ -3157,7 +3157,7 @@ vector::insert(const_iterator __position, _InputIterator __fir erase(__old_end, end()); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } __p = _VSTD::rotate(__p, __old_end, end()); insert(__p, __v.begin(), __v.end()); @@ -3412,4 +3412,4 @@ _LIBCPP_END_NAMESPACE_STD _LIBCPP_POP_MACROS -#endif // _LIBCPP_VECTOR +#endif // _LIBCPP_VECTOR diff --git a/libcxx/include/wchar.h b/libcxx/include/wchar.h index b21a78968e23..c556ae890876 100644 --- a/libcxx/include/wchar.h +++ b/libcxx/include/wchar.h @@ -177,6 +177,6 @@ size_t mbsnrtowcs(wchar_t *__restrict dst, const char **__restrict src, size_t wcsnrtombs(char *__restrict dst, const wchar_t **__restrict src, size_t nwc, size_t len, mbstate_t *__restrict ps); } // extern "C++" -#endif // __cplusplus && _LIBCPP_MSVCRT +#endif // __cplusplus && _LIBCPP_MSVCRT -#endif // _LIBCPP_WCHAR_H +#endif // _LIBCPP_WCHAR_H diff --git a/libcxx/include/wctype.h b/libcxx/include/wctype.h index 2d4c36d9921d..1b4b1461496c 100644 --- a/libcxx/include/wctype.h +++ b/libcxx/include/wctype.h @@ -75,6 +75,6 @@ wctrans_t wctrans(const char* property); #undef towctrans #undef wctrans -#endif // __cplusplus +#endif // __cplusplus -#endif // _LIBCPP_WCTYPE_H +#endif // _LIBCPP_WCTYPE_H diff --git a/libcxx/src/filesystem/filesystem_common.h b/libcxx/src/filesystem/filesystem_common.h index f7f9013edb73..60d07059e327 100644 --- a/libcxx/src/filesystem/filesystem_common.h +++ b/libcxx/src/filesystem/filesystem_common.h @@ -90,14 +90,14 @@ format_string(const char* msg, ...) { va_start(ap, msg); #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS ret = format_string_impl(msg, ap); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { va_end(ap); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS va_end(ap); return ret; } @@ -196,14 +196,14 @@ struct ErrorHandler { va_start(ap, msg); #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS report_impl(ec, msg, ap); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { va_end(ap); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS va_end(ap); return error_value(); } @@ -218,14 +218,14 @@ struct ErrorHandler { va_start(ap, msg); #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS report_impl(make_error_code(err), msg, ap); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { va_end(ap); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS va_end(ap); return error_value(); } diff --git a/libcxx/src/ios.cpp b/libcxx/src/ios.cpp index 7e4d06109392..a8a99015a977 100644 --- a/libcxx/src/ios.cpp +++ b/libcxx/src/ios.cpp @@ -43,7 +43,7 @@ __iostream_category::message(int ev) const if (ev != static_cast(io_errc::stream) #ifdef _LIBCPP_ELAST && ev <= _LIBCPP_ELAST -#endif // _LIBCPP_ELAST +#endif // _LIBCPP_ELAST ) return __do_message::message(ev); return string("unspecified iostream_category error"); @@ -416,7 +416,7 @@ ios_base::__set_badbit_and_consider_rethrow() #ifndef _LIBCPP_NO_EXCEPTIONS if (__exceptions_ & badbit) throw; -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } void @@ -426,7 +426,7 @@ ios_base::__set_failbit_and_consider_rethrow() #ifndef _LIBCPP_NO_EXCEPTIONS if (__exceptions_ & failbit) throw; -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } bool diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index 3194539197cf..634ae6f373db 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/src/locale.cpp @@ -240,7 +240,7 @@ locale::__imp::__imp(const string& name, size_t refs) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS facets_ = locale::classic().__locale_->facets_; for (unsigned i = 0; i < facets_.size(); ++i) if (facets_[i]) @@ -280,7 +280,7 @@ _LIBCPP_SUPPRESS_DEPRECATED_POP facets_[i]->__release_shared(); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } // NOTE avoid the `base class should be explicitly initialized in the @@ -315,7 +315,7 @@ locale::__imp::__imp(const __imp& other, const string& name, locale::category c) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (c & locale::collate) { install(new collate_byname(name)); @@ -369,7 +369,7 @@ _LIBCPP_SUPPRESS_DEPRECATED_POP facets_[i]->__release_shared(); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } template @@ -392,7 +392,7 @@ locale::__imp::__imp(const __imp& other, const __imp& one, locale::category c) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS if (c & locale::collate) { install_from<_VSTD::collate >(one); @@ -454,7 +454,7 @@ _LIBCPP_SUPPRESS_DEPRECATED_POP facets_[i]->__release_shared(); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } locale::__imp::__imp(const __imp& other, facet* f, long id) diff --git a/libcxx/src/mutex.cpp b/libcxx/src/mutex.cpp index efb9a907bdbe..36362e34f37b 100644 --- a/libcxx/src/mutex.cpp +++ b/libcxx/src/mutex.cpp @@ -209,7 +209,7 @@ void __call_once(volatile once_flag::_State_type& flag, void* arg, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS flag = 1; func(arg); flag = ~once_flag::_State_type(0); @@ -220,7 +220,7 @@ void __call_once(volatile once_flag::_State_type& flag, void* arg, flag = 0; throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } #else // !_LIBCPP_HAS_NO_THREADS __libcpp_mutex_lock(&mut); @@ -231,7 +231,7 @@ void __call_once(volatile once_flag::_State_type& flag, void* arg, #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS __libcpp_relaxed_store(&flag, once_flag::_State_type(1)); __libcpp_mutex_unlock(&mut); func(arg); @@ -250,7 +250,7 @@ void __call_once(volatile once_flag::_State_type& flag, void* arg, __libcpp_condvar_broadcast(&cv); throw; } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } else __libcpp_mutex_unlock(&mut); diff --git a/libcxx/src/new.cpp b/libcxx/src/new.cpp index f8046230b54c..5486815abb2a 100644 --- a/libcxx/src/new.cpp +++ b/libcxx/src/new.cpp @@ -89,14 +89,14 @@ operator new(size_t size, const std::nothrow_t&) noexcept #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS p = ::operator new(size); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return p; } @@ -115,14 +115,14 @@ operator new[](size_t size, const std::nothrow_t&) noexcept #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS p = ::operator new[](size); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return p; } @@ -210,14 +210,14 @@ operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) noe #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS p = ::operator new(size, alignment); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return p; } @@ -236,14 +236,14 @@ operator new[](size_t size, std::align_val_t alignment, const std::nothrow_t&) n #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS p = ::operator new[](size, alignment); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS return p; } diff --git a/libcxx/src/support/runtime/exception_fallback.ipp b/libcxx/src/support/runtime/exception_fallback.ipp index d81e05887073..67ebde3061ad 100644 --- a/libcxx/src/support/runtime/exception_fallback.ipp +++ b/libcxx/src/support/runtime/exception_fallback.ipp @@ -56,7 +56,7 @@ terminate() noexcept #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS (*get_terminate())(); // handler should not return fprintf(stderr, "terminate_handler unexpectedly returned\n"); @@ -69,7 +69,7 @@ terminate() noexcept fprintf(stderr, "terminate_handler unexpectedly threw an exception\n"); ::abort(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } bool uncaught_exception() noexcept { return uncaught_exceptions() > 0; } diff --git a/libcxx/src/support/runtime/exception_msvc.ipp b/libcxx/src/support/runtime/exception_msvc.ipp index 84319075feef..7e36c7068a28 100644 --- a/libcxx/src/support/runtime/exception_msvc.ipp +++ b/libcxx/src/support/runtime/exception_msvc.ipp @@ -60,7 +60,7 @@ void terminate() noexcept #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS (*get_terminate())(); // handler should not return fprintf(stderr, "terminate_handler unexpectedly returned\n"); @@ -73,7 +73,7 @@ void terminate() noexcept fprintf(stderr, "terminate_handler unexpectedly threw an exception\n"); ::abort(); } -#endif // _LIBCPP_NO_EXCEPTIONS +#endif // _LIBCPP_NO_EXCEPTIONS } bool uncaught_exception() noexcept { return uncaught_exceptions() > 0; } diff --git a/libcxx/src/system_error.cpp b/libcxx/src/system_error.cpp index 6d22cb77da35..a1ea6c4754ef 100644 --- a/libcxx/src/system_error.cpp +++ b/libcxx/src/system_error.cpp @@ -157,7 +157,7 @@ __generic_error_category::message(int ev) const #ifdef _LIBCPP_ELAST if (ev > _LIBCPP_ELAST) return string("unspecified generic_category error"); -#endif // _LIBCPP_ELAST +#endif // _LIBCPP_ELAST return __do_message::message(ev); } @@ -189,7 +189,7 @@ __system_error_category::message(int ev) const #ifdef _LIBCPP_ELAST if (ev > _LIBCPP_ELAST) return string("unspecified system_category error"); -#endif // _LIBCPP_ELAST +#endif // _LIBCPP_ELAST return __do_message::message(ev); } @@ -199,7 +199,7 @@ __system_error_category::default_error_condition(int ev) const noexcept #ifdef _LIBCPP_ELAST if (ev > _LIBCPP_ELAST) return error_condition(ev, system_category()); -#endif // _LIBCPP_ELAST +#endif // _LIBCPP_ELAST return error_condition(ev, generic_category()); } diff --git a/libcxx/src/thread.cpp b/libcxx/src/thread.cpp index 8d49e2ff5ac2..8dddb240b5a0 100644 --- a/libcxx/src/thread.cpp +++ b/libcxx/src/thread.cpp @@ -94,7 +94,7 @@ thread::hardware_concurrency() noexcept # warning hardware_concurrency not yet implemented # endif return 0; // Means not computable [thread.thread.static] -#endif // defined(CTL_HW) && defined(HW_NCPU) +#endif // defined(CTL_HW) && defined(HW_NCPU) } namespace this_thread diff --git a/libcxx/test/libcxx/algorithms/half_positive.pass.cpp b/libcxx/test/libcxx/algorithms/half_positive.pass.cpp index 8be1fec15ab2..fd7d1413741c 100644 --- a/libcxx/test/libcxx/algorithms/half_positive.pass.cpp +++ b/libcxx/test/libcxx/algorithms/half_positive.pass.cpp @@ -38,7 +38,7 @@ int main(int, char**) assert(test()); #if !defined(_LIBCPP_HAS_NO_INT128) assert(test<__int128_t>()); -#endif // !defined(_LIBCPP_HAS_NO_INT128) +#endif // !defined(_LIBCPP_HAS_NO_INT128) } #if TEST_STD_VER >= 11 @@ -49,7 +49,7 @@ int main(int, char**) static_assert(test(), ""); #if !defined(_LIBCPP_HAS_NO_INT128) static_assert(test<__int128_t>(), ""); -#endif // !defined(_LIBCPP_HAS_NO_INT128) +#endif // !defined(_LIBCPP_HAS_NO_INT128) } #endif // TEST_STD_VER >= 11 diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp index ca65631956b3..9704438c80d4 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp @@ -191,7 +191,7 @@ int main(int, char**) static_assert(test >()); static_assert(test >()); static_assert(test()); -#endif // TEST_STD_VER > 17 +#endif // TEST_STD_VER > 17 return 0; } diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp index 2e43cd20b148..bc0943685b73 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp @@ -124,7 +124,7 @@ int main(int, char**) static_assert(test >()); static_assert(test >()); static_assert(test()); -#endif // TEST_STD_VER > 17 +#endif // TEST_STD_VER > 17 return 0; } diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp index 0358f7030e8b..948ec482b0ab 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp @@ -299,7 +299,7 @@ test1() assert(r == Iter(array+size)); } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 int main(int, char**) { diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp index 4424308ea04c..2bab73c58b84 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/rotate.pass.cpp @@ -423,7 +423,7 @@ test1() assert(*ig[5] == 2); } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 int main(int, char**) { @@ -446,7 +446,7 @@ int main(int, char**) static_assert(test >()); static_assert(test >()); static_assert(test()); -#endif // TEST_STD_VER > 17 +#endif // TEST_STD_VER > 17 return 0; } diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp index cba09f51ecd8..12718652b193 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp @@ -107,7 +107,7 @@ int main(int, char**) test >(); test >(); test(); -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 return 0; } diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp index 11cda44d7563..05ac2799a55a 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp @@ -53,7 +53,7 @@ struct S { }; -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 #include "test_iterators.h" #include "counting_predicates.h" @@ -164,7 +164,7 @@ int main(int, char**) } delete [] ia; } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 test_PR31166(); diff --git a/libcxx/test/std/algorithms/alg.sorting/sortable_helpers.h b/libcxx/test/std/algorithms/alg.sorting/sortable_helpers.h index a5c138e071ab..b749229a95e5 100644 --- a/libcxx/test/std/algorithms/alg.sorting/sortable_helpers.h +++ b/libcxx/test/std/algorithms/alg.sorting/sortable_helpers.h @@ -75,4 +75,4 @@ static_assert(std::is_trivially_copyable::value, ""); static_assert(!std::is_trivially_copyable::value, ""); static_assert(!std::is_trivially_copyable::value, ""); -#endif // SORTABLE_HELPERS_H +#endif // SORTABLE_HELPERS_H diff --git a/libcxx/test/std/atomics/atomics.types.generic/integral.pass.cpp b/libcxx/test/std/atomics/atomics.types.generic/integral.pass.cpp index 12edd299a1ac..440550362618 100644 --- a/libcxx/test/std/atomics/atomics.types.generic/integral.pass.cpp +++ b/libcxx/test/std/atomics/atomics.types.generic/integral.pass.cpp @@ -186,7 +186,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); @@ -212,7 +212,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); diff --git a/libcxx/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp b/libcxx/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp index 74827ecdef33..22a31a601256 100644 --- a/libcxx/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp +++ b/libcxx/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp @@ -63,7 +63,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS static_assert((std::is_same, std::atomic_char16_t>::value), ""); static_assert((std::is_same, std::atomic_char32_t>::value), ""); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS // Added by LWG 2441 static_assert((std::is_same, std::atomic_intptr_t>::value), ""); diff --git a/libcxx/test/std/containers/Copyable.h b/libcxx/test/std/containers/Copyable.h index 2362df0e17b4..4aa5a97afe6b 100644 --- a/libcxx/test/std/containers/Copyable.h +++ b/libcxx/test/std/containers/Copyable.h @@ -14,4 +14,4 @@ class Copyable public: }; -#endif // COPYABLE_H +#endif // COPYABLE_H diff --git a/libcxx/test/std/containers/Emplaceable.h b/libcxx/test/std/containers/Emplaceable.h index e1c4ad724bdc..ca780d0ae1fe 100644 --- a/libcxx/test/std/containers/Emplaceable.h +++ b/libcxx/test/std/containers/Emplaceable.h @@ -53,5 +53,5 @@ struct hash } -#endif // TEST_STD_VER >= 11 -#endif // EMPLACEABLE_H +#endif // TEST_STD_VER >= 11 +#endif // EMPLACEABLE_H diff --git a/libcxx/test/std/containers/NotConstructible.h b/libcxx/test/std/containers/NotConstructible.h index f536823af240..f8d0d4d84ae9 100644 --- a/libcxx/test/std/containers/NotConstructible.h +++ b/libcxx/test/std/containers/NotConstructible.h @@ -37,4 +37,4 @@ struct hash } -#endif // NOTCONSTRUCTIBLE_H +#endif // NOTCONSTRUCTIBLE_H diff --git a/libcxx/test/std/containers/sequences/list/list.capacity/resize_size.pass.cpp b/libcxx/test/std/containers/sequences/list/list.capacity/resize_size.pass.cpp index 671e89ecff5c..c1b06eb3a008 100644 --- a/libcxx/test/std/containers/sequences/list/list.capacity/resize_size.pass.cpp +++ b/libcxx/test/std/containers/sequences/list/list.capacity/resize_size.pass.cpp @@ -46,7 +46,7 @@ int main(int, char**) assert(l.size() == 20); assert(std::distance(l.begin(), l.end()) == 20); } -#endif // __LIBCPP_MOVE +#endif // __LIBCPP_MOVE #if TEST_STD_VER >= 11 { std::list> l(5, 2); @@ -76,7 +76,7 @@ int main(int, char**) assert(l.size() == 20); assert(std::distance(l.begin(), l.end()) == 20); } -#endif // __LIBCPP_MOVE +#endif // __LIBCPP_MOVE #endif return 0; diff --git a/libcxx/test/std/containers/test_compare.h b/libcxx/test/std/containers/test_compare.h index 3ce680d03e73..fc4fdccd062e 100644 --- a/libcxx/test/std/containers/test_compare.h +++ b/libcxx/test/std/containers/test_compare.h @@ -41,4 +41,4 @@ class non_const_compare }; -#endif // TEST_COMPARE_H +#endif // TEST_COMPARE_H diff --git a/libcxx/test/std/containers/test_hash.h b/libcxx/test/std/containers/test_hash.h index b37b24908103..ccfe263df5c2 100644 --- a/libcxx/test/std/containers/test_hash.h +++ b/libcxx/test/std/containers/test_hash.h @@ -28,4 +28,4 @@ public: {return data_ == c.data_;} }; -#endif // TEST_HASH_H +#endif // TEST_HASH_H diff --git a/libcxx/test/std/containers/unord/unord.multiset/insert_rvalue.pass.cpp b/libcxx/test/std/containers/unord/unord.multiset/insert_rvalue.pass.cpp index 1bec2b7e6c2e..1696f52b066e 100644 --- a/libcxx/test/std/containers/unord/unord.multiset/insert_rvalue.pass.cpp +++ b/libcxx/test/std/containers/unord/unord.multiset/insert_rvalue.pass.cpp @@ -110,7 +110,7 @@ int main(int, char**) assert(c.size() == 4); assert(*r == 5); } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 return 0; } diff --git a/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/A.h b/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/A.h index 102624dfec38..e452ec545742 100644 --- a/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/A.h +++ b/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/A.h @@ -26,4 +26,4 @@ public: int A::count = 0; -#endif // A_H +#endif // A_H diff --git a/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/AB.h b/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/AB.h index 6e270b49f87f..75b4ab88bc18 100644 --- a/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/AB.h +++ b/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/AB.h @@ -37,4 +37,4 @@ public: int B::count = 0; -#endif // AB_H +#endif // AB_H diff --git a/libcxx/test/std/depr/depr.lib.binders/test_func.h b/libcxx/test/std/depr/depr.lib.binders/test_func.h index 57a208196e89..a187eb25a15b 100644 --- a/libcxx/test/std/depr/depr.lib.binders/test_func.h +++ b/libcxx/test/std/depr/depr.lib.binders/test_func.h @@ -29,4 +29,4 @@ public: {return x*y;} }; -#endif // TEST_FUNC_H +#endif // TEST_FUNC_H diff --git a/libcxx/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp b/libcxx/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp index 695001008ed1..e6437d5fc0d7 100644 --- a/libcxx/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp +++ b/libcxx/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp @@ -49,7 +49,7 @@ struct B } }; -#endif // TEST_STD_VER > 11 +#endif // TEST_STD_VER > 11 int main(int, char**) { @@ -57,7 +57,7 @@ int main(int, char**) #if TEST_STD_VER > 11 constexpr B test2 = {3, 2, 1}; (void)test2; -#endif // TEST_STD_VER > 11 +#endif // TEST_STD_VER > 11 return 0; } diff --git a/libcxx/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp b/libcxx/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp index d8f7a79c50c1..40f28d0c4dbf 100644 --- a/libcxx/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp +++ b/libcxx/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp @@ -27,7 +27,7 @@ int main(int, char**) #if TEST_STD_VER > 11 constexpr std::initializer_list il2; static_assert(il2.size() == 0, ""); -#endif // TEST_STD_VER > 11 +#endif // TEST_STD_VER > 11 return 0; } diff --git a/libcxx/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp b/libcxx/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp index 335a8ef5a427..56bd45b34a51 100644 --- a/libcxx/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp +++ b/libcxx/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp @@ -47,7 +47,7 @@ struct B } }; -#endif // TEST_STD_VER > 11 +#endif // TEST_STD_VER > 11 int main(int, char**) { @@ -55,7 +55,7 @@ int main(int, char**) #if TEST_STD_VER > 11 constexpr B test2 = {3, 2, 1}; (void)test2; -#endif // TEST_STD_VER > 11 +#endif // TEST_STD_VER > 11 return 0; } diff --git a/libcxx/test/std/language.support/support.limits/limits/is_specialized.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/is_specialized.pass.cpp index 369e6ae10048..9b8d2310d406 100644 --- a/libcxx/test/std/language.support/support.limits/limits/is_specialized.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/is_specialized.pass.cpp @@ -52,7 +52,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp index 4f9f62873aa1..1d21b3fc7784 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp @@ -39,7 +39,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); test(0); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp index 139f4821dc83..04b49fc7ccd8 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp @@ -38,7 +38,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp index efdfd70d79cc..725c0b998914 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp @@ -42,7 +42,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp index 60a905f79bb6..b03822b16921 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp @@ -39,7 +39,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); test(0); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp index d5380c1a7639..7a4932e21845 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp index 77e5de6ab835..350da02a7316 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp index 19d4fe29312e..58cdc0d7187b 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp index 767df5ac27b4..ba01ee588acd 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp index 0908c49bc16e..4dd30d43794f 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp index 0004e4e6282c..9e567a8221a0 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp @@ -41,7 +41,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); test(0); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp index d509be720e7d..15a56768bcf6 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp index 30dbd9ea11f8..4020241807f6 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp index 215407d74b34..eb039efd90ec 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp index 66ce0cb2bad4..8f6196a6beda 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp index 2eb2c4ba494d..608c3a475998 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp index 818ad4db9f47..8082531a486b 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp index adf147c7069a..66eaac4f8e17 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp @@ -45,7 +45,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(SHRT_MIN); test(0); test(INT_MIN); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp index 91f353ab5e20..4bf308b95913 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp @@ -45,7 +45,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(USHRT_MAX); test(UINT_MAX); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(SHRT_MAX); test(USHRT_MAX); test(INT_MAX); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp index 3cf7d5096958..127eed3e5e03 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp @@ -38,7 +38,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp index 325ad797977c..ba36671a4fce 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp @@ -38,7 +38,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp index e1a4ffe29bec..6dcbb1443fa8 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp @@ -38,7 +38,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp index 0d2cb3c1bc35..dac729d4969e 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp @@ -45,7 +45,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(SHRT_MIN); test(0); test(INT_MIN); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp index 5708d8a20f59..6245ecd7ca84 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp @@ -38,7 +38,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp index f598d42fa8e6..5361ad07d482 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp @@ -38,7 +38,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp index f4ea61f23dc6..11bf4a9a53e6 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp @@ -58,7 +58,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp index 8f13768b0bdb..ec55084a65e5 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp @@ -38,7 +38,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp index ddc4490db0be..31f7333a192e 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp @@ -39,7 +39,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(0); test(0); test(0); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp index 81d4ce6ebcf1..6b38e2636630 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp index 701386710955..d1683614983c 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp @@ -58,7 +58,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp index c150e5f23d06..861173071633 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp @@ -37,7 +37,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp index e7ea388192de..a5d212d591a2 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp @@ -44,7 +44,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); test(); diff --git a/libcxx/test/std/numerics/complex.number/cases.h b/libcxx/test/std/numerics/complex.number/cases.h index 6663245d2422..9904983fd67f 100644 --- a/libcxx/test/std/numerics/complex.number/cases.h +++ b/libcxx/test/std/numerics/complex.number/cases.h @@ -226,4 +226,4 @@ void is_about(long double x, long double y) assert(std::abs((x-y)/(x+y)) < 1.e-14); } -#endif // CASES_H +#endif // CASES_H diff --git a/libcxx/test/std/strings/basic.string.hash/strings.pass.cpp b/libcxx/test/std/strings/basic.string.hash/strings.pass.cpp index c2a2ef956472..1b3241c4ff39 100644 --- a/libcxx/test/std/strings/basic.string.hash/strings.pass.cpp +++ b/libcxx/test/std/strings/basic.string.hash/strings.pass.cpp @@ -49,7 +49,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); return 0; diff --git a/libcxx/test/std/strings/basic.string/input_iterator.h b/libcxx/test/std/strings/basic.string/input_iterator.h index 131be9fadd37..96ca96f985ac 100644 --- a/libcxx/test/std/strings/basic.string/input_iterator.h +++ b/libcxx/test/std/strings/basic.string/input_iterator.h @@ -37,4 +37,4 @@ public: {return !(x == y);} }; -#endif // INPUT_ITERATOR_H +#endif // INPUT_ITERATOR_H diff --git a/libcxx/test/std/strings/basic.string/test_traits.h b/libcxx/test/std/strings/basic.string/test_traits.h index c45f56eba3a0..78a98cb96d79 100644 --- a/libcxx/test/std/strings/basic.string/test_traits.h +++ b/libcxx/test/std/strings/basic.string/test_traits.h @@ -15,4 +15,4 @@ struct test_traits typedef charT char_type; }; -#endif // TEST_TRAITS_H +#endif // TEST_TRAITS_H diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp index 017d0e7acce4..d7455d721636 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp @@ -39,7 +39,7 @@ int main(int, char**) #if TEST_STD_VER > 14 static_assert(test_constexpr(), "" ); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp index af61f97b30a4..596bdf8e98d1 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp @@ -26,7 +26,7 @@ TEST_CONSTEXPR_CXX20 bool test() assert(s2[1] == char16_t(5)); assert(s2[2] == char16_t(5)); assert(std::char_traits::assign(NULL, 0, char16_t(5)) == NULL); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return true; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp index d0782c093388..b6dae496f313 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp @@ -57,7 +57,7 @@ int main(int, char**) #if TEST_STD_VER > 14 static_assert(test_constexpr(), "" ); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp index 5c70a7a21e50..8110bb82d0f8 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp @@ -28,7 +28,7 @@ TEST_CONSTEXPR_CXX20 bool test() assert(s2[2] == char16_t(3)); assert(std::char_traits::copy(NULL, s1, 0) == NULL); assert(std::char_traits::copy(s1, NULL, 0) == s1); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return true; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp index 1c705109f285..24965d4f5bb8 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp @@ -24,7 +24,7 @@ int main(int, char**) assert(std::char_traits::eq(u'a', u'a')); assert(!std::char_traits::eq(u'a', u'A')); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp index bef97d612eb7..3fac16998e07 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp @@ -27,7 +27,7 @@ int main(int, char**) #endif assert( std::char_traits::eq_int_type(std::char_traits::eof(), std::char_traits::eof())); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp index 2ca7e534327c..7676bdb4570f 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp @@ -43,7 +43,7 @@ int main(int, char**) #if TEST_STD_VER > 14 static_assert(test_constexpr(), "" ); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp index f487c410b0b7..ef5f829a5763 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp @@ -40,7 +40,7 @@ int main(int, char**) #if TEST_STD_VER > 14 static_assert(test_constexpr(), "" ); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp index a43a9e45cc2b..dfd377014411 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp @@ -24,7 +24,7 @@ int main(int, char**) assert(!std::char_traits::lt(u'a', u'a')); assert( std::char_traits::lt(u'A', u'a')); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp index b058632a8f48..b25114b03600 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp @@ -32,7 +32,7 @@ TEST_CONSTEXPR_CXX20 bool test() assert(s1[2] == char16_t(3)); assert(std::char_traits::move(NULL, s1, 0) == NULL); assert(std::char_traits::move(s1, NULL, 0) == s1); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return true; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp index bf26b4cf3309..fde6d930a552 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp @@ -27,7 +27,7 @@ int main(int, char**) assert(std::char_traits::not_eof(0) == 0); assert(std::char_traits::not_eof(std::char_traits::eof()) != std::char_traits::eof()); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp index 738754bf9838..92a0ff7195a3 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp @@ -25,7 +25,7 @@ int main(int, char**) assert(std::char_traits::to_char_type(u'A') == u'A'); #endif assert(std::char_traits::to_char_type(0) == 0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp index 83fff60b8865..d66a313b23a8 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp @@ -25,7 +25,7 @@ int main(int, char**) assert(std::char_traits::to_int_type(u'A') == u'A'); #endif assert(std::char_traits::to_int_type(0) == 0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp index 415ddd46c3a2..eb1338b13a54 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp @@ -30,7 +30,7 @@ int main(int, char**) static_assert((std::is_same::off_type, std::streamoff>::value), ""); static_assert((std::is_same::pos_type, std::u16streampos>::value), ""); static_assert((std::is_same::state_type, std::mbstate_t>::value), ""); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp index f77d54f79162..f38048ae47c2 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp @@ -39,7 +39,7 @@ int main(int, char**) #if TEST_STD_VER > 14 static_assert(test_constexpr(), "" ); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp index b022b23aa0ee..bfa13afc330d 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp @@ -26,7 +26,7 @@ TEST_CONSTEXPR_CXX20 bool test() assert(s2[1] == char32_t(5)); assert(s2[2] == char32_t(5)); assert(std::char_traits::assign(NULL, 0, char32_t(5)) == NULL); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return true; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp index f2dd01ac9aa6..abad4884d873 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp @@ -56,7 +56,7 @@ int main(int, char**) #if TEST_STD_VER > 14 static_assert(test_constexpr(), "" ); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp index 75e17d082f0e..e708fa43cc4e 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp @@ -28,7 +28,7 @@ TEST_CONSTEXPR_CXX20 bool test() assert(s2[2] == char32_t(3)); assert(std::char_traits::copy(NULL, s1, 0) == NULL); assert(std::char_traits::copy(s1, NULL, 0) == s1); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return true; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp index 516f38bd0871..98427fe664f4 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp @@ -24,7 +24,7 @@ int main(int, char**) assert(std::char_traits::eq(U'a', U'a')); assert(!std::char_traits::eq(U'a', U'A')); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp index 5d241159f72e..9824f968197d 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp @@ -27,7 +27,7 @@ int main(int, char**) #endif assert( std::char_traits::eq_int_type(std::char_traits::eof(), std::char_traits::eof())); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp index 5a89596dee9d..d4f3ae8e459c 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp @@ -43,7 +43,7 @@ int main(int, char**) #if TEST_STD_VER > 14 static_assert(test_constexpr(), "" ); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp index ef2ea3419bd2..498b2953b8e5 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp @@ -40,7 +40,7 @@ int main(int, char**) #if TEST_STD_VER > 14 static_assert(test_constexpr(), "" ); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp index 51c1faf9ef2b..c33524802253 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp @@ -24,7 +24,7 @@ int main(int, char**) assert(!std::char_traits::lt(U'a', U'a')); assert( std::char_traits::lt(U'A', U'a')); #endif -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp index 499009938515..a641f288c920 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp @@ -32,7 +32,7 @@ TEST_CONSTEXPR_CXX20 bool test() assert(s1[2] == char32_t(3)); assert(std::char_traits::move(NULL, s1, 0) == NULL); assert(std::char_traits::move(s1, NULL, 0) == s1); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return true; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp index aeba1228e6f6..fef80c413b03 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp @@ -27,7 +27,7 @@ int main(int, char**) assert(std::char_traits::not_eof(0) == 0); assert(std::char_traits::not_eof(std::char_traits::eof()) != std::char_traits::eof()); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp index 75104e7bf168..5ae5b30698e9 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp @@ -25,7 +25,7 @@ int main(int, char**) assert(std::char_traits::to_char_type(U'A') == U'A'); #endif assert(std::char_traits::to_char_type(0) == 0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp index 8299e94dabdb..869289baf029 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp @@ -25,7 +25,7 @@ int main(int, char**) assert(std::char_traits::to_int_type(U'A') == U'A'); #endif assert(std::char_traits::to_int_type(0) == 0); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp index 0297da0ba08c..fd29c72bb69a 100644 --- a/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp +++ b/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp @@ -30,7 +30,7 @@ int main(int, char**) static_assert((std::is_same::off_type, std::streamoff>::value), ""); static_assert((std::is_same::pos_type, std::u32streampos>::value), ""); static_assert((std::is_same::state_type, std::mbstate_t>::value), ""); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/string.classes/typedefs.pass.cpp b/libcxx/test/std/strings/string.classes/typedefs.pass.cpp index cbc028391b58..55717e355519 100644 --- a/libcxx/test/std/strings/string.classes/typedefs.pass.cpp +++ b/libcxx/test/std/strings/string.classes/typedefs.pass.cpp @@ -32,7 +32,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS static_assert((std::is_same >::value), ""); static_assert((std::is_same >::value), ""); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS return 0; } diff --git a/libcxx/test/std/strings/string.view/string.view.hash/string_view.pass.cpp b/libcxx/test/std/strings/string.view/string.view.hash/string_view.pass.cpp index 0e296f2096dc..502f3adbd893 100644 --- a/libcxx/test/std/strings/string.view/string.view.hash/string_view.pass.cpp +++ b/libcxx/test/std/strings/string.view/string.view.hash/string_view.pass.cpp @@ -64,7 +64,7 @@ int main(int, char**) #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif // _LIBCPP_HAS_NO_UNICODE_CHARS +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); return 0; diff --git a/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp b/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp index 207b0753e726..8a6e83c6c5b7 100644 --- a/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp +++ b/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp @@ -387,7 +387,7 @@ int main(int, char**) assert(!l2.locked()); } } -#endif // TEST_HAS_NO_EXCEPTIONS +#endif // TEST_HAS_NO_EXCEPTIONS { L0 l0; L0 l1; @@ -516,7 +516,7 @@ int main(int, char**) assert(!l3.locked()); } } -#endif // TEST_HAS_NO_EXCEPTIONS +#endif // TEST_HAS_NO_EXCEPTIONS #endif // TEST_STD_VER >= 11 return 0; diff --git a/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp b/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp index 50ff29ce9597..f41f70d8edf9 100644 --- a/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp +++ b/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp @@ -465,7 +465,7 @@ int main(int, char**) assert(!l2.locked()); } } -#endif // TEST_HAS_NO_EXCEPTIONS +#endif // TEST_HAS_NO_EXCEPTIONS { L0 l0; L0 l1; @@ -521,7 +521,7 @@ int main(int, char**) assert(!l2.locked()); assert(!l3.locked()); } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 return 0; } diff --git a/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp b/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp index bcc19eaed1c0..c63cda345c1a 100644 --- a/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp +++ b/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp @@ -101,7 +101,7 @@ void f2() std::call_once(flg2, init2(), 4, 5); } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 std::once_flag flg41; std::once_flag flg42; @@ -253,7 +253,7 @@ int main(int, char**) std::call_once(f2, std::move(rq)); assert(rq.rv_called == 1); } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 return 0; } diff --git a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp index b872915cc1da..efd9ed641915 100644 --- a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp @@ -170,7 +170,7 @@ int main(int, char**) RTTI_ASSERT(f.target()); // f is unchanged because the target is small #endif } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 return 0; } diff --git a/libcxx/test/std/utilities/time/clock.h b/libcxx/test/std/utilities/time/clock.h index 3a637ee14bcd..882238ad6fa0 100644 --- a/libcxx/test/std/utilities/time/clock.h +++ b/libcxx/test/std/utilities/time/clock.h @@ -22,4 +22,4 @@ class Clock static time_point now(); }; -#endif // CLOCK_H +#endif // CLOCK_H diff --git a/libcxx/test/std/utilities/time/rep.h b/libcxx/test/std/utilities/time/rep.h index 45a7b1db1741..80a0e3c54571 100644 --- a/libcxx/test/std/utilities/time/rep.h +++ b/libcxx/test/std/utilities/time/rep.h @@ -61,4 +61,4 @@ template std::chrono::duration& operator%=(std::chrono::duration& d, NotARep) { return d; } -#endif // REP_H +#endif // REP_H diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/alloc_first.h b/libcxx/test/std/utilities/tuple/tuple.tuple/alloc_first.h index 3db836a42b7b..571f795aa576 100644 --- a/libcxx/test/std/utilities/tuple/tuple.tuple/alloc_first.h +++ b/libcxx/test/std/utilities/tuple/tuple.tuple/alloc_first.h @@ -54,4 +54,4 @@ struct alloc_first bool alloc_first::allocator_constructed = false; -#endif // ALLOC_FIRST_H +#endif // ALLOC_FIRST_H diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/alloc_last.h b/libcxx/test/std/utilities/tuple/tuple.tuple/alloc_last.h index 76f69e1370f5..a893ec06246d 100644 --- a/libcxx/test/std/utilities/tuple/tuple.tuple/alloc_last.h +++ b/libcxx/test/std/utilities/tuple/tuple.tuple/alloc_last.h @@ -54,4 +54,4 @@ struct alloc_last bool alloc_last::allocator_constructed = false; -#endif // ALLOC_LAST_H +#endif // ALLOC_LAST_H diff --git a/libcxx/test/support/DefaultOnly.h b/libcxx/test/support/DefaultOnly.h index 2e9e7029c5e3..1c99c4f65630 100644 --- a/libcxx/test/support/DefaultOnly.h +++ b/libcxx/test/support/DefaultOnly.h @@ -31,4 +31,4 @@ public: int DefaultOnly::count = 0; -#endif // DEFAULTONLY_H +#endif // DEFAULTONLY_H diff --git a/libcxx/test/support/MoveOnly.h b/libcxx/test/support/MoveOnly.h index a748ab50bd89..b754834aa0d9 100644 --- a/libcxx/test/support/MoveOnly.h +++ b/libcxx/test/support/MoveOnly.h @@ -62,6 +62,6 @@ struct hash } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 -#endif // MOVEONLY_H +#endif // MOVEONLY_H diff --git a/libcxx/test/support/allocators.h b/libcxx/test/support/allocators.h index eae51909ed69..759e9c3a415b 100644 --- a/libcxx/test/support/allocators.h +++ b/libcxx/test/support/allocators.h @@ -185,6 +185,6 @@ bool operator!=(const A3& x, const A3& y) return !(x == y); } -#endif // TEST_STD_VER >= 11 +#endif // TEST_STD_VER >= 11 -#endif // ALLOCATORS_H +#endif // ALLOCATORS_H diff --git a/libcxx/test/support/asan_testing.h b/libcxx/test/support/asan_testing.h index 6171d0beebb3..7f3312d9f822 100644 --- a/libcxx/test/support/asan_testing.h +++ b/libcxx/test/support/asan_testing.h @@ -33,4 +33,4 @@ bool is_contiguous_container_asan_correct ( const std::vector &) #endif -#endif // ASAN_TESTING_H +#endif // ASAN_TESTING_H diff --git a/libcxx/test/support/charconv_test_helpers.h b/libcxx/test/support/charconv_test_helpers.h index 4ef4288a34fc..51e6a56b8a8e 100644 --- a/libcxx/test/support/charconv_test_helpers.h +++ b/libcxx/test/support/charconv_test_helpers.h @@ -236,4 +236,4 @@ run(type_list) (void)ls; } -#endif // SUPPORT_CHARCONV_TEST_HELPERS_H +#endif // SUPPORT_CHARCONV_TEST_HELPERS_H diff --git a/libcxx/test/support/deleter_types.h b/libcxx/test/support/deleter_types.h index 1c99feaa6e10..56cf7e330f3e 100644 --- a/libcxx/test/support/deleter_types.h +++ b/libcxx/test/support/deleter_types.h @@ -442,4 +442,4 @@ private: #endif // TEST_STD_VER >= 11 -#endif // SUPPORT_DELETER_TYPES_H +#endif // SUPPORT_DELETER_TYPES_H diff --git a/libcxx/test/support/is_transparent.h b/libcxx/test/support/is_transparent.h index 9088ab67d31b..9cc69f04fc65 100644 --- a/libcxx/test/support/is_transparent.h +++ b/libcxx/test/support/is_transparent.h @@ -164,4 +164,4 @@ private: #endif // TEST_STD_VER > 17 -#endif // TRANSPARENT_H +#endif // TRANSPARENT_H diff --git a/libcxx/test/support/min_allocator.h b/libcxx/test/support/min_allocator.h index b9f6f6147609..8f636c694ee5 100644 --- a/libcxx/test/support/min_allocator.h +++ b/libcxx/test/support/min_allocator.h @@ -458,4 +458,4 @@ public: TEST_CONSTEXPR_CXX20 friend bool operator!=(explicit_allocator x, explicit_allocator y) {return !(x == y);} }; -#endif // MIN_ALLOCATOR_H +#endif // MIN_ALLOCATOR_H diff --git a/libcxx/test/support/parse_integer.h b/libcxx/test/support/parse_integer.h index f985063b7822..c4fa429e65d5 100644 --- a/libcxx/test/support/parse_integer.h +++ b/libcxx/test/support/parse_integer.h @@ -69,4 +69,4 @@ T parse_integer(std::basic_string const& str) { return detail::parse_integer_impl()(str); } -#endif // LIBCPP_TEST_SUPPORT_PARSE_INTEGER_H +#endif // LIBCPP_TEST_SUPPORT_PARSE_INTEGER_H diff --git a/libcxx/test/support/test_allocator.h b/libcxx/test/support/test_allocator.h index 1d6acf5767ee..5b6fac64ee38 100644 --- a/libcxx/test/support/test_allocator.h +++ b/libcxx/test/support/test_allocator.h @@ -443,4 +443,4 @@ inline bool operator!=(limited_allocator const& LHS, } -#endif // TEST_ALLOCATOR_H +#endif // TEST_ALLOCATOR_H diff --git a/libcxx/test/support/test_iterators.h b/libcxx/test/support/test_iterators.h index 7ada4bb36553..cc5d018d0d75 100644 --- a/libcxx/test/support/test_iterators.h +++ b/libcxx/test/support/test_iterators.h @@ -634,4 +634,4 @@ bool operator!= (const NonThrowingIterator& a, const NonThrowingIterator& #undef DELETE_FUNCTION -#endif // ITERATORS_H +#endif // ITERATORS_H diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp index ebb05ce54213..ef30fe75c3ed 100644 --- a/libcxxabi/src/cxa_exception.cpp +++ b/libcxxabi/src/cxa_exception.cpp @@ -384,7 +384,7 @@ asm ( " bl abort\n" " .popsection" ); -#endif // defined(_LIBCXXABI_ARM_EHABI) +#endif // defined(_LIBCXXABI_ARM_EHABI) /* This routine can catch foreign or native exceptions. If native, the exception diff --git a/libcxxabi/src/cxa_exception.h b/libcxxabi/src/cxa_exception.h index 8c6c8bca853c..601be4e40467 100644 --- a/libcxxabi/src/cxa_exception.h +++ b/libcxxabi/src/cxa_exception.h @@ -161,4 +161,4 @@ extern "C" _LIBCXXABI_FUNC_VIS void __cxa_free_dependent_exception (void * depen } // namespace __cxxabiv1 -#endif // _CXA_EXCEPTION_H +#endif // _CXA_EXCEPTION_H diff --git a/libcxxabi/src/cxa_handlers.cpp b/libcxxabi/src/cxa_handlers.cpp index 65a538111dae..bcaf4f1f6f0d 100644 --- a/libcxxabi/src/cxa_handlers.cpp +++ b/libcxxabi/src/cxa_handlers.cpp @@ -55,7 +55,7 @@ __terminate(terminate_handler func) noexcept #ifndef _LIBCXXABI_NO_EXCEPTIONS try { -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS func(); // handler should not return abort_message("terminate_handler unexpectedly returned"); @@ -66,7 +66,7 @@ __terminate(terminate_handler func) noexcept // handler should not throw exception abort_message("terminate_handler unexpectedly threw an exception"); } -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS } __attribute__((noreturn)) diff --git a/libcxxabi/src/cxa_handlers.h b/libcxxabi/src/cxa_handlers.h index eb5110023e48..da113b82db34 100644 --- a/libcxxabi/src/cxa_handlers.h +++ b/libcxxabi/src/cxa_handlers.h @@ -52,4 +52,4 @@ _LIBCXXABI_DATA_VIS extern void (*__cxa_new_handler)(); } // extern "C" -#endif // _CXA_HANDLERS_H +#endif // _CXA_HANDLERS_H diff --git a/libcxxabi/src/cxa_personality.cpp b/libcxxabi/src/cxa_personality.cpp index 81aa85165dd3..cc0208c9b136 100644 --- a/libcxxabi/src/cxa_personality.cpp +++ b/libcxxabi/src/cxa_personality.cpp @@ -88,7 +88,7 @@ extern "C" EXCEPTION_DISPOSITION _GCC_specific_handler(PEXCEPTION_RECORD, | +-------------+---------------------------------+------------------------------+ | | ... | +----------------------------------------------------------------------------------+ -#endif // __USING_SJLJ_EXCEPTIONS__ +#endif // __USING_SJLJ_EXCEPTIONS__ +---------------------------------------------------------------------+ | Beginning of Action Table ttypeIndex == 0 : cleanup | | ... ttypeIndex > 0 : catch | @@ -628,7 +628,7 @@ static void scan_eh_tab(scan_results &results, _Unwind_Action actions, // ip is 1-based index into call site table #else // !__USING_SJLJ_EXCEPTIONS__ uintptr_t ipOffset = ip - funcStart; -#endif // !defined(_USING_SLJL_EXCEPTIONS__) +#endif // !defined(_USING_SLJL_EXCEPTIONS__) const uint8_t* classInfo = NULL; // Note: See JITDwarfEmitter::EmitExceptionTable(...) for corresponding // dwarf emission @@ -673,7 +673,7 @@ static void scan_eh_tab(scan_results &results, _Unwind_Action actions, uintptr_t landingPad = readULEB128(&callSitePtr); uintptr_t actionEntry = readULEB128(&callSitePtr); if (--ip == 0) -#endif // __USING_SJLJ_EXCEPTIONS__ +#endif // __USING_SJLJ_EXCEPTIONS__ { // Found the call site containing ip. #ifndef __USING_SJLJ_EXCEPTIONS__ @@ -687,7 +687,7 @@ static void scan_eh_tab(scan_results &results, _Unwind_Action actions, results.landingPad = landingPad; #else // __USING_SJLJ_EXCEPTIONS__ ++landingPad; -#endif // __USING_SJLJ_EXCEPTIONS__ +#endif // __USING_SJLJ_EXCEPTIONS__ if (actionEntry == 0) { // Found a cleanup @@ -820,7 +820,7 @@ static void scan_eh_tab(scan_results &results, _Unwind_Action actions, // Possible stack corruption. call_terminate(native_exception, unwind_exception); } -#endif // !__USING_SJLJ_EXCEPTIONS__ +#endif // !__USING_SJLJ_EXCEPTIONS__ } // there might be some tricky cases which break out of this loop // It is possible that no eh table entry specify how to handle diff --git a/libcxxabi/src/private_typeinfo.cpp b/libcxxabi/src/private_typeinfo.cpp index c77ad669c49e..86e187fecb5b 100644 --- a/libcxxabi/src/private_typeinfo.cpp +++ b/libcxxabi/src/private_typeinfo.cpp @@ -679,7 +679,7 @@ __dynamic_cast(const void *static_ptr, const __class_type_info *static_type, info.number_of_dst_type = 1; dynamic_type->search_above_dst(&info, dynamic_ptr, dynamic_ptr, public_path, true); } -#endif // _LIBCXXABI_FORGIVING_DYNAMIC_CAST +#endif // _LIBCXXABI_FORGIVING_DYNAMIC_CAST // Query the search. if (info.path_dst_ptr_to_static_ptr == public_path) dst_ptr = dynamic_ptr; @@ -707,7 +707,7 @@ __dynamic_cast(const void *static_ptr, const __class_type_info *static_type, info = {dst_type, static_ptr, static_type, src2dst_offset, 0}; dynamic_type->search_below_dst(&info, dynamic_ptr, public_path, true); } -#endif // _LIBCXXABI_FORGIVING_DYNAMIC_CAST +#endif // _LIBCXXABI_FORGIVING_DYNAMIC_CAST // Query the search. switch (info.number_to_static_ptr) { diff --git a/libcxxabi/src/private_typeinfo.h b/libcxxabi/src/private_typeinfo.h index cf680d6b1f2f..b99039cb5676 100644 --- a/libcxxabi/src/private_typeinfo.h +++ b/libcxxabi/src/private_typeinfo.h @@ -248,4 +248,4 @@ public: } // __cxxabiv1 -#endif // __PRIVATE_TYPEINFO_H_ +#endif // __PRIVATE_TYPEINFO_H_ diff --git a/libcxxabi/src/stdlib_new_delete.cpp b/libcxxabi/src/stdlib_new_delete.cpp index 4d8854d29815..1091b82f642d 100644 --- a/libcxxabi/src/stdlib_new_delete.cpp +++ b/libcxxabi/src/stdlib_new_delete.cpp @@ -52,14 +52,14 @@ operator new(size_t size, const std::nothrow_t&) noexcept #ifndef _LIBCXXABI_NO_EXCEPTIONS try { -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS p = ::operator new(size); #ifndef _LIBCXXABI_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS return p; } @@ -78,14 +78,14 @@ operator new[](size_t size, const std::nothrow_t&) noexcept #ifndef _LIBCXXABI_NO_EXCEPTIONS try { -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS p = ::operator new[](size); #ifndef _LIBCXXABI_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS return p; } @@ -173,14 +173,14 @@ operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) noe #ifndef _LIBCXXABI_NO_EXCEPTIONS try { -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS p = ::operator new(size, alignment); #ifndef _LIBCXXABI_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS return p; } @@ -199,14 +199,14 @@ operator new[](size_t size, std::align_val_t alignment, const std::nothrow_t&) n #ifndef _LIBCXXABI_NO_EXCEPTIONS try { -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS p = ::operator new[](size, alignment); #ifndef _LIBCXXABI_NO_EXCEPTIONS } catch (...) { } -#endif // _LIBCXXABI_NO_EXCEPTIONS +#endif // _LIBCXXABI_NO_EXCEPTIONS return p; }