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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 01:48:38 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().
----------------
jh7370 wrote:

It's mostly to completely clarify what is meant by "top-level" here. For an example, I'd take a mangled name that contains a nested function signature and show which part is considered top-level and which part isn't. E.g.
```
  // ParseParams maybe false at the top level only, when called from parse(). For example in
  // the mangled name <mangled name>, ParseParams may be true when demangling
  // <top-level part> but is always false when demangling <nested part>.
```
(obviously replace the bits between `<>` with appropriate strings and reflow as appropriate).

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


More information about the llvm-commits mailing list