File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,9 @@ typedef __char32_t char32_t;
146
146
147
147
#if !(__has_feature(cxx_auto_type))
148
148
#define _LIBCPP_HAS_NO_AUTO_TYPE
149
+ #endif
150
+
151
+ #if __clang_major__ < 3
149
152
#define _LIBCPP_HAS_NO_ADVANCED_SFINAE
150
153
#endif
151
154
Original file line number Diff line number Diff line change @@ -1294,7 +1294,7 @@ struct __has_allocate_hint
1294
1294
1295
1295
#endif // _LIBCPP_HAS_NO_ADVANCED_SFINAE
1296
1296
1297
- #ifndef _LIBCPP_HAS_NO_ADVANCED_SFINAE
1297
+ #if !defined( _LIBCPP_HAS_NO_ADVANCED_SFINAE) && !defined(_LIBCPP_HAS_NO_VARIADICS)
1298
1298
1299
1299
template <class _Alloc , class _Tp , class ..._Args>
1300
1300
decltype (_VSTD::declval<_Alloc>().construct(_VSTD::declval<_Tp*>(),
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ std::get_terminate() _NOEXCEPT
56
56
return __sync_fetch_and_add (&__terminate_handler, (std::terminate_handler)0 );
57
57
}
58
58
59
+ _ATTRIBUTE (noreturn)
59
60
void
60
61
std::terminate() _NOEXCEPT
61
62
{
You can’t perform that action at this time.
0 commit comments