-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[libc++-14] <ranges> header fails to define std::ranges::contiguous_range #54765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@llvm/issue-subscribers-c-20 |
Yes this was using the exact 14.0.0 tag. I have not tried if the issue persists on 14.x |
I can confirm that this issue persists with 14.0.1. |
@DimitryAndric No, this has nothing to do with the |
@philnik777 We are still accepting LLVM14 patches. |
@tstellar What is the deadline for a patch to still be accepted for LLVM 14? |
@var-const Probably around June 1. June 8 is the last planned 14.0.x release. |
@philnik777 Our code base is using these concepts since clang-13. So we're particularly interested in the fix. Is this fix just a matter of removing the |
No, the concepts require other parts of |
Please let me know if I can be of any help. |
The ranges concepts were already available in libc++13, so we shouldn't guard them with `_LIBCPP_HAS_NO_INCOMPLETE_RANGES`. Fixes #54765 Differential Revision: https://reviews.llvm.org/D124011 (cherry picked from commit b177a90)
@philnik777 Thank you for looking into this! It seems the fix was committed to |
@Wentzell The fix will go into the 14.x branch. This is also a fix for the libc++15 release, since I don't think we will complete the one ranges proposal in the libc++15 time frame. But we should get it done for libc++16. @ldionne or @tstellar (?) will put it in the 14.x branch. I don't know the process for this. |
Thank you for clarifying! |
/cherry-pick b177a90 |
Failed to cherry-pick: b177a90 https://github.com/llvm/llvm-project/actions/runs/2432601260 Please manually backport the fix and push it to your github fork. Once this is done, please add a comment like this:
|
Is someone able to backport this to a personal branch so we can create a pull request? |
Merged: 4d039a7 |
Yeah, sorry, I forgot to comment here but I already cherry-picked to
|
The ranges concepts were already available in libc++13, so we shouldn't guard them with `_LIBCPP_HAS_NO_INCOMPLETE_RANGES`. Fixes llvm/llvm-project#54765 Reviewed By: #libc, ldionne Spies: ldionne, libcxx-commits Differential Revision: https://reviews.llvm.org/D124011
The ranges concepts were already available in libc++13, so we shouldn't guard them with `_LIBCPP_HAS_NO_INCOMPLETE_RANGES`. Fixes llvm/llvm-project#54765 Reviewed By: #libc, ldionne Spies: ldionne, libcxx-commits Differential Revision: https://reviews.llvm.org/D124011
The code snippet
compiles successfully (using
-stdlib=libc++ -std=c++20
) with clang-13.0.1 and clang-trunk,but fails to compile with clang-14.0.0
See https://godbolt.org/z/1na3EaeEe
The text was updated successfully, but these errors were encountered: