rsmith accepted this revision. rsmith added a comment. This revision is now accepted and ready to land.
Here's a testcase that produces a name with external linkage: struct X { int i, j; }; auto [a,b] = X{1,2}; template<typename T> void f(decltype(a + T())) {} template void f<int>(int); We should make sure that we mangle the reference to `a` as `_Z1aE` here. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D86130/new/ https://reviews.llvm.org/D86130 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits