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

Make the test suite more friendly to Clang 19 #4912

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

CaseyCarter
Copy link
Member

  • Fix for regression in P2268R8_text_formatting_range_formatter I'm applying a perma-workaround because I suspect this is actually ill-formed, but am not motivated to investigate. GCC also rejects this usage.
  • Workaround LLVM-104189 in P2374R4_views_cartesian_product_recommended_practices
  • Comment that LLVM-95311 is fixed in 19.1.0-rc3 on the FAIL line in expected_results.txt for std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.compile.pass.cpp.

This allows Clang 19 to pass the test suite with the sole exception of the has_unique_object_representations test that FAILs with Clang 17. I expect little to no change in the 19.1.0 release (per https://discourse.llvm.org/t/llvm-19-1-0-rc3-released/80802).

* Fix for regression in `P2268R8_text_formatting_range_formatter`
  I'm applying a perma-workaround because I suspect this is actually ill-formed, but am not motivated to investigate. GCC also rejects this usage.
* Workaround LLVM-104189 in `P2374R4_views_cartesian_product_recommended_practices``
* Comment that LLVM-95311 is fixed in 19.1.0-rc3 on the `FAIL` line in `expected_results.txt` for `std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.compile.pass.cpp`.

This allows Clang 19 to pass the test suite with the sole exception of the `has_unique_object_representations` test that `FAIL`s with Clang 17.
@CaseyCarter CaseyCarter added the test Related to test code label Aug 25, 2024
@CaseyCarter CaseyCarter requested a review from a team as a code owner August 25, 2024 02:41
@StephanTLavavej
Copy link
Member

Thanks! I pushed a conflict-free merge with main and a citation nitpick.

@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 4811be8 into microsoft:main Aug 28, 2024
39 checks passed
@StephanTLavavej
Copy link
Member

Thanks for getting us ready for Future Technology! 🪄 🎉 🐈

@CaseyCarter CaseyCarter deleted the clang19-friendly branch August 28, 2024 04:23
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.

2 participants