[libc-commits] [libc] 17b5d6b - [libc] Temporarily disable the type trait test affected by issue 132494. (#132501)

via libc-commits libc-commits at lists.llvm.org
Fri Mar 21 18:57:41 PDT 2025


Author: lntue
Date: 2025-03-21T21:57:37-04:00
New Revision: 17b5d6b2420ea3f1638b62a3b721c355be533dcd

URL: https://github.com/llvm/llvm-project/commit/17b5d6b2420ea3f1638b62a3b721c355be533dcd
DIFF: https://github.com/llvm/llvm-project/commit/17b5d6b2420ea3f1638b62a3b721c355be533dcd.diff

LOG: [libc] Temporarily disable the type trait test affected by issue 132494. (#132501)

This test causes clang to crash due to #132494.

Added: 
    

Modified: 
    libc/test/src/__support/CPP/type_traits_test.cpp

Removed: 
    


################################################################################
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