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

Ilya Biryukov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 04:53:50 PDT 2024


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

Could you add a test that triggers this behavior?

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


More information about the llvm-commits mailing list