[libcxx-commits] [libcxxabi] [libcxxabi][ItaniumDemangle] Demangle explicitly named object parameters (PR #72881)
Emma Pilkington via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Nov 24 11:09:37 PST 2023
================
@@ -5422,6 +5456,14 @@ Node *AbstractManglingParser<Derived, Alloc>::parseEncoding() {
Node *Ty = getDerived().parseType();
if (Ty == nullptr)
return nullptr;
+
+ const bool IsFirstParam = (Names.size() - ParamsBegin) == 0;
----------------
epilk wrote:
nit: `ParamsBegin == Names.size()` seems a bit more direct.
https://github.com/llvm/llvm-project/pull/72881
More information about the libcxx-commits
mailing list