[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:55:10 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: None (lntue)
<details>
<summary>Changes</summary>
This test causes clang to crash due to #<!-- -->132494.
---
Full diff: https://github.com/llvm/llvm-project/pull/132501.diff
1 Files Affected:
- (modified) libc/test/src/__support/CPP/type_traits_test.cpp (+3-1)
``````````diff
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) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/132501
More information about the libc-commits
mailing list