[libc-commits] [libc] [libc] Temporarily disable the type trait test affected by issue 132494. (PR #132501)
via libc-commits
libc-commits at lists.llvm.org
Fri Mar 21 18:54:39 PDT 2025
https://github.com/lntue created https://github.com/llvm/llvm-project/pull/132501
This test causes clang to crash due to #132494.
>From cfc87501a032ff183ac00be96c55ae46dda90455 Mon Sep 17 00:00:00 2001
From: Tue Ly <lntue.h at gmail.com>
Date: Sat, 22 Mar 2025 01:52:13 +0000
Subject: [PATCH] [libc] Temporarily disable the type trait test affected by
issue 132494.
---
libc/test/src/__support/CPP/type_traits_test.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libc/test/src/__support/CPP/type_traits_test.cpp b/libc/test/src/__support/CPP/type_traits_test.cpp
index 4b3e48c6a6c0f..85e71f9d90026 100644
--- a/libc/test/src/__support/CPP/type_traits_test.cpp
+++ b/libc/test/src/__support/CPP/type_traits_test.cpp
@@ -334,7 +334,9 @@ TEST(LlvmLibcTypeTraitsTest, is_class) {
// Neither other types.
EXPECT_FALSE((is_class_v<Union>));
EXPECT_FALSE((is_class_v<int>));
- EXPECT_FALSE((is_class_v<EnumClass>));
+ // TODO: Re-enable the test after
+ // https://github.com/llvm/llvm-project/issues/132494 is fixed.
+ // EXPECT_FALSE((is_class_v<EnumClass>));
}
TYPED_TEST(LlvmLibcTypeTraitsTest, is_const, UnqualObjectTypes) {
More information about the libc-commits
mailing list