[libcxx-commits] [libcxxabi] [llvm] [libc++abi] Enable demangling of `cp` expression production (PR #114882)

Michael Buch via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 5 13:15:01 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[] = {
----------------
Michael137 wrote:

one caveat with formatting the testcases is that clang-format will split those long strings into multiple lines, which becomes very annoying to work with (e.g., copying out testcases, or even reading them). That's why i put a `clang-format off` around that array

https://github.com/llvm/llvm-project/pull/114882


More information about the libcxx-commits mailing list