================
@@ -819,6 +819,10 @@ void JSONNodeDumper::VisitNamedDecl(const NamedDecl *ND) {
     if (VD && VD->hasLocalStorage())
       return;
 
+    // Do not mangle template deduction guides.
+    if (const auto DG = dyn_cast<CXXDeductionGuideDecl>(ND))
----------------
AaronBallman wrote:

```suggestion
    if (isa<CXXDeductionGuideDecl>(ND))
```

https://github.com/llvm/llvm-project/pull/70224
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to