Skip to content
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

Adjust tests relying on CWG-1351 noexcept behavior #4914

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

joemmett
Copy link
Member

@joemmett joemmett commented Aug 26, 2024

Update some noexcept tests in variant and invoke to remove old permissive behavior. This is guarded in a check for an as-yet unreleased MSVC compiler.

This mirrors the STL portion of MSVC-PR-566073.

Update some noexcept tests in variant and invoke to remove
old permissive behavior. This is guarded in a check for an as-yet
unreleased MSVC compiler.
@joemmett joemmett requested a review from a team as a code owner August 26, 2024 13:42
@CaseyCarter CaseyCarter added the test Related to test code label Aug 26, 2024
Copy link
Member

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified against the internal changes, and approved the internal PR as well.

@CaseyCarter CaseyCarter changed the title Adjust tests relying on CWG1351 noexcept behavior Adjust tests relying on CWG-1351 noexcept behavior Aug 26, 2024
CaseyCarter added a commit to CaseyCarter/STL that referenced this pull request Aug 26, 2024
This test doesn't need `is_permissive.hpp` after microsoft#4914.
@CaseyCarter CaseyCarter merged commit d9f6f31 into microsoft:main Aug 27, 2024
39 checks passed
@CaseyCarter
Copy link
Member

😻 Thanks for ensuring these tests are no exception to our suite's quality and correctness!

CaseyCarter added a commit to CaseyCarter/STL that referenced this pull request Aug 27, 2024
This test doesn't need `is_permissive.hpp` after microsoft#4914.
CaseyCarter added a commit to CaseyCarter/STL that referenced this pull request Sep 10, 2024
This test doesn't need `is_permissive.hpp` after microsoft#4914.
CaseyCarter added a commit to CaseyCarter/STL that referenced this pull request Sep 10, 2024
Let's make these more consistent with the messages for `find_package(Python)` and the assembler. If nothing else, showing the path to the found clang-format may help folks who are finding the wrong version.

Remove extraneous `element_type` from `ContiguousIterator`

And while we're here, use `value_type` and `difference_type` where appropriate so we can easily see which `int` is which.

Remove unused include from `P2163R3_invoke_r`

This test doesn't need `is_permissive.hpp` after microsoft#4914.

Simplify `construct_at` constraint

Investigate a couple of libc++ failures

Add some missing `#endif` comments

These were incorrectly removed by microsoft#4944.
CaseyCarter added a commit to CaseyCarter/STL that referenced this pull request Sep 10, 2024
* Pretty clang-format find/version check messages
  Let's make these more consistent with the messages for `find_package(Python)` and the assembler. If nothing else, showing the path to the found clang-format may help folks who are finding the wrong version.
* Remove extraneous `element_type` from `ContiguousIterator`
  And while we're here, use `value_type` and `difference_type` where appropriate so we can easily see which `int` is which.
* Remove unused include from `P2163R3_invoke_r`
  This test doesn't need `is_permissive.hpp` after microsoft#4914.
* Simplify `construct_at` constraint
* Investigate a couple of libc++ failures
* Add some missing `#endif` comments
  These were incorrectly removed by microsoft#4944.
CaseyCarter added a commit to CaseyCarter/STL that referenced this pull request Sep 10, 2024
* Pretty clang-format find/version check messages: Let's make these more consistent with the messages for `find_package(Python)` and the assembler. Showing the path may help folks with problems.
* Remove extraneous `element_type` from `ContiguousIterator`: While we're here, let's use `value_type` and `difference_type` where appropriate so we can see which `int` is which.
* Remove unused include from `P2163R3_invoke_r`: This test doesn't need `is_permissive.hpp` after microsoft#4914.
* Simplify `construct_at` constraint
* Investigate a couple of libc++ failures
* Add some missing `#endif` comments: These were incorrectly removed by microsoft#4944.
CaseyCarter added a commit to CaseyCarter/STL that referenced this pull request Sep 10, 2024
This test doesn't need `is_permissive.hpp` after microsoft#4914.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Related to test code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants