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

Dmitry Vasilyev via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 08:20:42 PST 2023


================
@@ -5452,6 +5452,16 @@ Node *AbstractManglingParser<Derived, Alloc>::parseEncoding() {
   }
 
   NodeArray Params;
+  
+  // ParseParams may be false in top-level only, when called from parse().
+  if (!ParseParams) {
+    while (consume())
+      ;
+    return make<FunctionEncoding>(ReturnType, Name, Params, Attrs,
+                                  nullptr /* Requires */, NameInfo.CVQualifiers,
----------------
slydiman wrote:

Done.

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


More information about the llvm-commits mailing list