================ @@ -1088,6 +1088,9 @@ void CXXNameMangler::mangleNameWithAbiTags(GlobalDecl GD, return; } + while (DC->isRequiresExprBody()) + DC = DC->getParent(); ---------------- mizvekov wrote:
With a compound expression you can introduce lots of other kinds of DeclContexts here. https://github.com/llvm/llvm-project/pull/147764 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits