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

Deprecate -warn-on-potentially-unavailable-enum-case option #1418

Commits on Aug 18, 2023

  1. Configuration menu
    Copy the full SHA
    ed87628 View commit details
    Browse the repository at this point in the history
  2. Deprecate the -warn-on-potentially-unavailable-enum-case option.

    When `-warn-on-potentially-unavailable-enum-case` was introduced, the build
    system was required to invoke `swift-frontend` at artificially low deployment
    targets when emitting `.swiftinterface` files for legacy architectures. Because
    the deployment target was low, some availability diagnostics needed to be
    de-fanged in order to allow module interface emission to succeed. Today, the
    build system is able to use the correct deployment target when emitting module
    interfaces and the `-warn-on-potentially-unavailable-enum-case` is superfluous,
    so deprecate it.
    
    Resolves rdar://114092047
    tshortli committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    640c8d1 View commit details
    Browse the repository at this point in the history