[libcxx-commits] [libcxxabi] [llvm] [libc++abi] Enable demangling of `cp` expression production (PR #114882)
Hubert Tong via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 4 19:19:29 PST 2024
================
@@ -30371,24 +30372,22 @@ void test_invalid_cases()
assert(!passed && "demangle did not fail");
}
-const char *xfail_cases[] = {
- // FIXME: Why does clang generate the "cp" expr?
- "_ZN5test11bIsEEDTcp3foocvT__EEES1_",
+const char *const xfail_cases[] = {
----------------
hubert-reinterpretcast wrote:
I'm not sure what sort of simplification `std::array` is meant to buy us here.
If we want a range-based for loop, we can use one with a core-language array.
While a `std::array` can be empty, CTAD for `std::array` does not work for `{}` even if the element type is specified via an alias template. I think simplicity of updating `xfail_cases` in the future is the more important concern.
https://github.com/llvm/llvm-project/pull/114882
More information about the libcxx-commits
mailing list