[PATCH] D120589: [Clang] Implement decltype(auto)(x) from P0849R2

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 25 07:26:49 PDT 2022


aaron.ballman added reviewers: rsmith, clang-language-wg.
aaron.ballman added a comment.
Herald added a project: All.

I'm adding more reviewers for a wider audience on this topic. Personally, I don't think we should support this extension. EWG voted pretty strongly against it: 0/3/7/6/1 (https://github.com/cplusplus/papers/issues/293#issuecomment-585662477) and Clang has a policy that language extensions should have representation within the appropriate governing body (https://clang.llvm.org/get_involved.html#criteria). Given that the governing body for this rejected it and there's not a significant user benefit to supporting it, I think we shouldn't step into the C++ design space for this extension. However, I have no idea how others feel.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120589/new/

https://reviews.llvm.org/D120589



More information about the cfe-commits mailing list