[PATCH] D119136: [clang] Implement Change scope of lambda trailing-return-type

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 21 12:09:54 PDT 2022

rsmith added a comment.

In D119136#3463888 <https://reviews.llvm.org/D119136#3463888>, @cor3ntin wrote:

> @rsmith @aaron.ballman Do you think it's worth resubmitting this patch with a look ahead of the `mutable` keyword (this seems to me a better strategy than other flimsy workaround suggested/tried), or would you rather wait for WG21 to come up with something?

To directly answer your question: I'd want a reasonably strong signal from WG21 that that's the direction they want to pursue before we implement something like that, especially because it changes the meaning of some constructs while leaving them valid, which will create some churn for people living at head especially if we then roll that change back again. (I think we did have a strong enough signal to early-adopt the `decltype(id)` handling.)

  rG LLVM Github Monorepo



More information about the cfe-commits mailing list