Skip to content
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

handle /clang arguments for clang-cl #408

Closed
froydnj opened this issue Apr 10, 2019 · 2 comments
Closed

handle /clang arguments for clang-cl #408

froydnj opened this issue Apr 10, 2019 · 2 comments

Comments

@froydnj
Copy link
Contributor

froydnj commented Apr 10, 2019

clang 8.0 introduced a better "escape hatch" for clang-cl than -Xclang: /clang:ARG. The former passes the argument directly to cc1; the latter passes the argument to the clang driver itself, essentially allowing anything to be passed through as if you were using clang instead of clang-cl.

I think this is just a matter of adding a SlashClang case to ArgData and adding similar reprocessing of SlashClang arguments as the XClang case already does. But it'd be nice to not completely duplicate the XClang processing code.

@glandium
Copy link
Collaborator

There is partial support in #808

@froydnj
Copy link
Contributor Author

froydnj commented Jul 12, 2020

This is done, then.

@froydnj froydnj closed this as completed Jul 12, 2020
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

No branches or pull requests

2 participants