HazardyKnusperkeks added a comment. In D141811#4064428 <https://reviews.llvm.org/D141811#4064428>, @rymiel wrote:
> In D141811#4055485 <https://reviews.llvm.org/D141811#4055485>, > @HazardyKnusperkeks wrote: > >> What about `decltype(auto)`? > > Turns out this is a problem even without this patch: > > `decltype(auto) a = (b) -> c;` > > I'm sure this could somehow be valid c++ syntax, but it does have to be at > the top scope. I suppose I could fix it in this patch. I thought about `auto NAME() -> int { return 42; }`. `decltype(auto) a = (b) -> c;` is something else... Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141811/new/ https://reviews.llvm.org/D141811 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits