-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[libcxx] cbegin should always return a constant iterator #99915
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
Open
strega-nil
wants to merge
32
commits into
llvm:main
Choose a base branch
from
strega-nil:P2278R4_cbegin
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
5b9c2df
[libcxx] `cbegin` should always return a constant iterator
strega-nil f348b3c
Merge branch 'main' into P2278R4_cbegin
frederick-vs-ja 9c2f7ca
Remove a mistakenly merged line in `module.modulemap`
frederick-vs-ja 2601e34
Missing inclusion and test skipping
frederick-vs-ja 40e7a25
Transitive inclusions and forward declaration of `span`
frederick-vs-ja 8b50c88
Missing inclusion of `<__ranges/enable_borrowed_range.h>`
frederick-vs-ja eaf5c51
Merge branch 'main' into P2278R4_cbegin
frederick-vs-ja c1a350e
Merge branch 'main' into P2278R4_cbegin
frederick-vs-ja 5831f31
Clang-format `std/containers/views/views.span/types.pass.cpp`
frederick-vs-ja 4c87db5
Merge branch 'main' into P2278R4_cbegin
frederick-vs-ja 9e28bd8
Semantic merging and release note
frederick-vs-ja f0fb6cc
Merge branch 'main' into P2278R4_cbegin
frederick-vs-ja 28ef669
Clang-format
frederick-vs-ja 10ae9d0
Drop `ASSERT_RUNTIME_AND_CONSTEXPR`
frederick-vs-ja 3283347
Merge branch 'main' into P2278R4_cbegin
frederick-vs-ja 466abe1
Fixes for `_LIBCPP_NODEBUG`, `std` module, and tests
frederick-vs-ja 6575917
Fix `_LIBCPP_NODEBUG` again
frederick-vs-ja af76980
Implement LWG4027 `possibly-const-range` should prefer returning `con…
frederick-vs-ja 0dad30e
Documentation for LWG4027
frederick-vs-ja d22a25d
Fixup for LWG4027
frederick-vs-ja 930a9cb
Address some review comments
frederick-vs-ja 9c498c7
Use `// REQUIRES: std-at-least-c++23` for some tests
frederick-vs-ja f59baeb
Inline `iterator_concept` into `basic_const_iterator`
frederick-vs-ja 22f1dac
Merge branch 'main' into P2278R4_cbegin
frederick-vs-ja 5f9d8ff
Product code changes
frederick-vs-ja afbda54
Test explicitness of `as_const_view`'s functions
frederick-vs-ja 1fd78c6
Test some properties of iterator operations
frederick-vs-ja bbe8e35
Test implicitness of `basic_const_iterator`'s constructor
frederick-vs-ja 51c1006
Merge branch 'main' into P2278R4_cbegin
frederick-vs-ja dd9c7cd
Fixup
frederick-vs-ja 3e932f4
Fixup again
frederick-vs-ja 444f19f
Test constraints on `const_iterator`/`const_sentinel` (LWG3765)
frederick-vs-ja File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you confirm that you've gone through these LWG issues and made sure that we have test coverage for each of them? For example, I would expect a test that uses
basic_const_iterator<volatile int*>::operator->to guard against LWG3853.