[llvm] [libcxxabi] [llvm-cxxfilt] Added the option --no-params (PR #75348)

Dmitry Vasilyev via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 11:00:02 PST 2023


================
@@ -5430,6 +5430,13 @@ Node *AbstractManglingParser<Derived, Alloc>::parseEncoding() {
   if (IsEndOfEncoding())
     return Name;
 
+  // ParseParams may be false in top-level only, when called from parse().
+  if (!ParseParams) {
+    while (consume())
+      ;
----------------
slydiman wrote:

I have added the test for this case.

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


More information about the llvm-commits mailing list