Skip to content

Silence Some Warnings #40230

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

Merged
merged 2 commits into from
Nov 18, 2021
Merged

Silence Some Warnings #40230

merged 2 commits into from
Nov 18, 2021

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Nov 17, 2021

  • Correct field initialization order in the clang importer
  • Swap LLVM_NODISCARD for LLVM_ATTRIBUTE_NORETURN in a few places where it was mis-applied.

These were originally meant to be no-return functions since they're going to abort. They were accidentally changed to no-discard functions despite not having a return value.
@CodaFi
Copy link
Contributor Author

CodaFi commented Nov 17, 2021

@swift-ci smoke test and merge

@CodaFi
Copy link
Contributor Author

CodaFi commented Nov 18, 2021

@swift-ci smoke test macOS

@CodaFi CodaFi merged commit 0470406 into swiftlang:main Nov 18, 2021
@CodaFi CodaFi deleted the noreturn-of-the-king branch November 18, 2021 03:47
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