[libcxx-commits] [libcxx] fea29ee - [libc++][z/OS] Switch to use TEST_HAS_NO_INT128 as per comment in PR 92261 (#92434)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 21 01:20:44 PDT 2024
Author: Zibi
Date: 2024-05-21T10:20:39+02:00
New Revision: fea29ee41d50c5603338f5af4728ddbdf93aaec2
URL: https://github.com/llvm/llvm-project/commit/fea29ee41d50c5603338f5af4728ddbdf93aaec2
DIFF: https://github.com/llvm/llvm-project/commit/fea29ee41d50c5603338f5af4728ddbdf93aaec2.diff
LOG: [libc++][z/OS] Switch to use TEST_HAS_NO_INT128 as per comment in PR 92261 (#92434)
Follow up to llvm#92261.
Added:
Modified:
libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp
libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp b/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp
index 63a1a8adf4e35..d71b76926ce38 100644
--- a/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp
@@ -84,12 +84,12 @@ int main(int, char**)
test_ext<unsigned int>();
test<unsigned long>();
// This isn't implemented on platforms without __int128
-#ifndef _LIBCPP_HAS_NO_INT128
+#ifndef TEST_HAS_NO_INT128
test_ext<unsigned long>();
#endif
test<unsigned long long>();
// This isn't implemented on platforms without __int128
-#ifndef _LIBCPP_HAS_NO_INT128
+#ifndef TEST_HAS_NO_INT128
test_ext<unsigned long long>();
#endif
diff --git a/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp b/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp
index c45f45d0f20a3..50389ef801397 100644
--- a/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp
@@ -83,12 +83,12 @@ int main(int, char**)
test_ext<unsigned int>();
test<unsigned long>();
// This isn't implemented on platforms without __int128
-#ifndef _LIBCPP_HAS_NO_INT128
+#ifndef TEST_HAS_NO_INT128
test_ext<unsigned long>();
#endif
test<unsigned long long>();
// This isn't implemented on platforms without __int128
-#ifndef _LIBCPP_HAS_NO_INT128
+#ifndef TEST_HAS_NO_INT128
test_ext<unsigned long long>();
#endif
More information about the libcxx-commits
mailing list