[clang] [clang] Fix mangling of constrained auto referring to a parameter when the return type has an ABI tag (PR #223121)

Akash Manna via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 15 20:49:31 PDT 2026


================
@@ -873,9 +871,11 @@ void CXXNameMangler::mangleFunctionEncoding(GlobalDecl GD) {
   // Output name of the function.
   FunctionEncodingMangler.disableDerivedAbiTags();
 
-  FunctionTypeDepthState Saved = FunctionTypeDepth.push();
+  // Enter the function parameter scope on the mangler that mangles the name.
----------------
akash-manna-sky wrote:

Done, dropped the comment...


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


More information about the cfe-commits mailing list