nridge added a comment. In D124690#3540704 <https://reviews.llvm.org/D124690#3540704>, @upsj wrote:
> Example where this pops up: > > cpp > namespace std { template <typename T> T&& forward(T&); } > struct S { S(int a); }; > template <typename T, typename... Args> > T bar(Args&&... args) { return T{std::forward<Args>($fwd[[args]])...}; } > void baz() { > int b; > bar<S>($param[[b]]); > } I'm happy to take a look at this, but I would need some updated code to run (including in particular the update to the call site that currently uses `getNonReferenceType()`) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D124690/new/ https://reviews.llvm.org/D124690 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits