Skip to content

Initial support for tracking locations for assigned values in XCConfigs #513

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 1 commit into from
Jun 4, 2025

Conversation

neonichu
Copy link
Collaborator

This can be used to emit fix-its for XCConfigs files during the build process.

@neonichu
Copy link
Collaborator Author

@swift-ci please test

@neonichu
Copy link
Collaborator Author

Note that this currently only tracks one location per macro, I wanted to separate the mechanics a bit from the interesting parts, so there will be at least one more PR before this really becomes useful in practice.

@neonichu neonichu force-pushed the bbuegling/retain-xcconfig-value-locations branch from fd1477f to a619ee1 Compare May 19, 2025 16:46
@neonichu
Copy link
Collaborator Author

@swift-ci please test

This can be used to emit fix-its for XCConfigs files during the build process.
@neonichu neonichu force-pushed the bbuegling/retain-xcconfig-value-locations branch from a619ee1 to a1f70b9 Compare June 3, 2025 21:56
@neonichu
Copy link
Collaborator Author

neonichu commented Jun 3, 2025

@swift-ci please test

@neonichu
Copy link
Collaborator Author

neonichu commented Jun 3, 2025

@swift-ci please test linux

@neonichu neonichu merged commit eca9ed5 into main Jun 4, 2025
24 checks passed
@neonichu neonichu deleted the bbuegling/retain-xcconfig-value-locations branch June 4, 2025 00:09
neonichu added a commit that referenced this pull request Jun 4, 2025
In #513, initial support for this was added, this PR moves the location to be per assignment which allows emitting fix its not just for the last seen assignments. This will also allow looking at any conditions of assignments when choosing the location for emitting fix its.
neonichu added a commit that referenced this pull request Jun 4, 2025
In #513, initial support for this was added, this PR moves the location to be per assignment which allows emitting fix its not just for the last seen assignments. This will also allow looking at any conditions of assignments when choosing the location for emitting fix its.
neonichu added a commit that referenced this pull request Jun 4, 2025
In #513, initial support for this was added, this PR moves the location to be per assignment which allows emitting fix its not just for the last seen assignments. This will also allow looking at any conditions of assignments when choosing the location for emitting fix its.
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