[PATCH] D149276: [Clang] Fix parsing of `(auto(x))`.

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 28 09:50:34 PDT 2023


cor3ntin added a comment.

In D149276#4305780 <https://reviews.llvm.org/D149276#4305780>, @shafik wrote:

> I see that we do have an issue but so far the examples in the tests don't feel very natural and so I would like to understand if there is a larger motivation here.

The context is that a user realized we fail to implement P0849 https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0849r8.html
and as a result we fail to compile simple range code https://godbolt.org/z/3ajj1c135 (this was observed by a user on the llvm discord and i don't think they made a github issue, unfortunately)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149276



More information about the cfe-commits mailing list