summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-06-21 14:45:08 +0000
committerEric Fiselier <eric@efcs.ca>2019-06-21 14:45:08 +0000
commitf044ebeb8d06fda55eeebb63b27eae0336c7c70c (patch)
treefb5a76eb09538573ad732872f460f463b77f6b5d
parentb6a9afa8236ba4e5ebe46e1215936aab109e5612 (diff)
downloadbcm5719-llvm-f044ebeb8d06fda55eeebb63b27eae0336c7c70c.tar.gz
bcm5719-llvm-f044ebeb8d06fda55eeebb63b27eae0336c7c70c.zip
Enable aligned_union in C++03
llvm-svn: 364058
-rw-r--r--libcxx/include/type_traits3
-rw-r--r--libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp2
2 files changed, 0 insertions, 5 deletions
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits
index 01d8c318d2f..7b2f342911f 100644
--- a/libcxx/include/type_traits
+++ b/libcxx/include/type_traits
@@ -1797,7 +1797,6 @@ _CREATE_ALIGNED_STORAGE_SPECIALIZATION(0x4000);
#undef _CREATE_ALIGNED_STORAGE_SPECIALIZATION
-#ifndef _LIBCPP_HAS_NO_VARIADICS
// aligned_union
@@ -1831,8 +1830,6 @@ struct aligned_union
template <size_t _Len, class ..._Types> using aligned_union_t = typename aligned_union<_Len, _Types...>::type;
#endif
-#endif // _LIBCPP_HAS_NO_VARIADICS
-
template <class _Tp>
struct __numeric_type
{
diff --git a/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp b/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp
index 0c9fefe4cbf..ff628450df2 100644
--- a/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp
+++ b/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp
@@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: c++98, c++03
-
// type_traits
// aligned_union<size_t Len, class ...Types>
OpenPOWER on IntegriCloud