Skip to content

Frontend: Add -experimental-skip-non-inlinable-function-bodies-is-lazy #70095

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

Conversation

tshortli
Copy link
Contributor

This option causes the -experimental-lazy-typecheck and -experimental-skip-non-exportable-decls options to be inferred from the presence of -experimental-skip-non-inlinable-function-bodies. This new option is meant to be a temporary testing aid that allows lazy typechecking to be tested on projects without full build system support for passing the other flags to the right jobs.

Also, ignore -experimental-lazy-typecheck during interface verification jobs, since the flag does not make sense during that action but the driver will pass the flag down regardless.

Resolves rdar://118938251

…ion.

This TODO was unblocked previously but not addressed.
This option causes the -experimental-lazy-typecheck and
-experimental-skip-non-exportable-decls options to be inferred from the
presense of -experimental-skip-non-inlinable-function-bodies. This new option
is meant to be a temporary testing aid that allows lazy typechecking to be
tested on projects without full build system support for passing the other
flags to the right jobs.

Resolves rdar://118938251
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli requested review from nkcsgexi and artemcm November 29, 2023 18:54
Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

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

Thank you!

@tshortli tshortli merged commit 2f8d9e5 into swiftlang:main Nov 29, 2023
@tshortli tshortli deleted the infer-lazy-typecheck-from-skip-non-inlinable-option branch November 29, 2023 23:12
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.

3 participants