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

[C++20] Two very minor C++20 fixes. #70321

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Conversation

allevato
Copy link
Member

@allevato allevato commented Dec 8, 2023

  • Remove std:: from std::size_t where we're importing stddef.h instead of cstddef.
  • Add an inclusion of <cstdlib> where needed because libc++ has cleaned up some of their transitive inclusions.

- Remove `std::` from `std::size_t` where we're importing `stddef.h`
  instead of `cstddef`.
- Add an inclusion of `<cstdlib>` where needed because libc++ has
  cleaned up some of their transitive inclusions.
@allevato
Copy link
Member Author

allevato commented Dec 8, 2023

@swift-ci please test

@allevato allevato merged commit 28e6369 into swiftlang:main Dec 8, 2023
5 checks passed
@allevato allevato deleted the c++20-fixes branch December 8, 2023 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant