[libcxx-commits] [libcxxabi] [libcxxabi][ItaniumDemangle] Demangle explicitly named object parameters (PR #72881)
Emma Pilkington via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 22 14:38:14 PST 2023
================
@@ -5424,6 +5435,9 @@ Node *AbstractManglingParser<Derived, Alloc>::parseEncoding() {
return nullptr;
Names.push_back(Ty);
} while (!IsEndOfEncoding() && look() != 'Q');
+ // Ignore the explicit 'this' parameter.
+ if (NameInfo.HasExplicitObjectParameter)
----------------
epilk wrote:
Any reason to avoid printing out the `this` parameter? I think it could be useful to include it, especially if a user is overloading using it.
https://github.com/llvm/llvm-project/pull/72881
More information about the libcxx-commits
mailing list