Skip to content

Conversation

owenv
Copy link
Collaborator

@owenv owenv commented Sep 20, 2025

This ensures the contents get properly escaped

@owenv
Copy link
Collaborator Author

owenv commented Sep 20, 2025

@swift-ci test

@owenv
Copy link
Collaborator Author

owenv commented Sep 21, 2025

@swift-ci test

@owenv
Copy link
Collaborator Author

owenv commented Sep 21, 2025

@swift-ci test

}

public var defaultResponseFileFormat: ResponseFileFormat {
switch self {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: use this?

self == .windows ? .windowsShellQuotedNewlineSeparated : .unixShellQuotedSpaceSeparated

Seems unlikely there will ever be difference except for Windows

@daveinglis
Copy link
Contributor

I tested this locally but the .windowsShellQuotedNewlineSeparated: which uses WindowsProcessArgumentsCodec() does not seem to work for clang as it does not escape windows path separators, however using LLVMStyleCommandCodec() does seem to work, should this be the default for Windows?

@owenv
Copy link
Collaborator Author

owenv commented Sep 23, 2025

@daveinglis possibly, we may need to dig into the clang implementation a bit to see what it's expecting to receive

@owenv
Copy link
Collaborator Author

owenv commented Sep 24, 2025

Closing this one for now

@owenv owenv closed this Sep 24, 2025
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.

4 participants