-
Notifications
You must be signed in to change notification settings - Fork 439
Various improvements and tweaks to bring SwiftIfConfig in line with the compiler #2774
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
DougGregor
merged 11 commits into
swiftlang:main
from
DougGregor:if-config-compiler-align
Aug 5, 2024
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
e4f5517
Implement warning to recognize conditions that should be simulator ch…
DougGregor d5e3717
Slight changes in diagnostic wording to more closely match the compiler
DougGregor 2f24394
Downgrade the error about a `_compiler_version("1.N.2")` to a warning
DougGregor 1425e5a
Downgrade error about bad "_endian" platform condition to a warning
DougGregor f3c3f14
Introduce warning to rename targetEnvironment(macabi) to macCatalyst
DougGregor 150e569
Properly translate import path expressions to an import path
DougGregor 757d2b3
Ensure that we diagnose compound names where they shouldn't be
DougGregor fab7578
Customize "unknown infix operator" diagnostic to make it clearer
DougGregor 3f5c9ea
Only diagnostic likely targetEnvironment(simulator) conditions at the…
DougGregor 1a3f156
Avoid evaluating canImport when the result of the #if condition is known
DougGregor 24ead55
Slight diagnostics cleanup for incorrect infix and prefix operators
DougGregor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.