[llvm] [llvm-cxxfilt] Added the option --no-params (PR #75348)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 13 07:46:21 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,
----------------
jh7370 wrote:
```suggestion
/*Requires=*/nullptr, NameInfo.CVQualifiers,
```
https://github.com/llvm/llvm-project/pull/75348
More information about the llvm-commits
mailing list