[libcxx-commits] [libcxxabi] [llvm] [LLVM Demangler] Set `InConstraintExpr` to `true` when demangling a c… (PR #107385)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 10 01:37:33 PDT 2024


================
@@ -5737,6 +5737,7 @@ Node *AbstractManglingParser<Derived, Alloc>::parseTemplateParamDecl(
   }
 
   if (consumeIf("Tk")) {
+    ScopedOverride<bool> SaveInConstraintExpr(InConstraintExpr, true);
----------------
VitaNuo wrote:

Sure, there's a comment in https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/Demangle/ItaniumDemangle.h#L5679, but I can also add a similar one here.

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


More information about the libcxx-commits mailing list