Skip to content

[Dependency Scan] Remove redundant recombination of arguments in 'initCompilerInstanceForScan' into a string, before being re-parsed. #60712

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
Aug 23, 2022

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Aug 22, 2022

This does not seem to serve a purpose other than corrupting arguments with whitespaces - they get merged into one large string where the whitespace boundary between arguments and whitespaces within arguments are blurred.

Part of rdar://98985453

@artemcm artemcm requested a review from nkcsgexi August 22, 2022 20:35
@artemcm
Copy link
Contributor Author

artemcm commented Aug 22, 2022

@swift-ci smoke test

artemcm added a commit to artemcm/swift-driver that referenced this pull request Aug 22, 2022
…vocation command

Since we are passing in the command-line to the scanner library with individual flags and paths as separate strings, this should not be necessary.
Depends on swiftlang/swift#60712

Part of rdar://98985453
artemcm added a commit to artemcm/swift-driver that referenced this pull request Aug 22, 2022
…vocation command

Since we are passing in the command-line to the scanner library with individual flags and paths as separate strings, this should not be necessary.
Depends on swiftlang/swift#60712

Part of rdar://98985453
@artemcm artemcm force-pushed the RemoveRedundantScanCommandCombo branch from 157ea0a to 90c66b8 Compare August 22, 2022 23:06
@artemcm
Copy link
Contributor Author

artemcm commented Aug 22, 2022

@swift-ci smoke test

…tCompilerInstanceForScan' into a string, before being re-parsed.

This does not seem to serve a purpose other than corrupting arguments with whitespaces - they get merged into one large string where the whitespace boundary between arguments and whitespaces within arguments are blurred.

Part of rdar://98985453
@artemcm artemcm force-pushed the RemoveRedundantScanCommandCombo branch from 90c66b8 to baec315 Compare August 22, 2022 23:13
@artemcm
Copy link
Contributor Author

artemcm commented Aug 22, 2022

@swift-ci smoke test

artemcm added a commit to artemcm/swift-driver that referenced this pull request Aug 23, 2022
…vocation command

Since we are passing in the command-line to the scanner library with individual flags and paths as separate strings, this should not be necessary.
Depends on swiftlang/swift#60712

Part of rdar://98985453
@artemcm
Copy link
Contributor Author

artemcm commented Aug 23, 2022

swiftlang/swift-driver#1159
@swift-ci smoke test

@artemcm artemcm merged commit 7d94c24 into swiftlang:main Aug 23, 2022
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.

2 participants