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

Compilation: Clean up addCCArgs() + some minor improvements #22224

Merged
merged 5 commits into from
Dec 15, 2024

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Dec 13, 2024

The goal of this commit is to get rid of some "unused command line argument" warnings that Clang would give for various file types previously (e.g. non-preprocessed assembly files). This cleanup also has the side effect of making the order of flags more understandable, especially as it pertains to include paths.

Since a lot of code was shuffled around in this commit, I recommend reviewing the old and new versions of the function side-by-side rather than trying to make sense of the diff.

The goal of this commit is to get rid of some "unused command line argument"
warnings that Clang would give for various file types previously. This cleanup
also has the side effect of making the order of flags more understandable,
especially as it pertains to include paths.

Since a lot of code was shuffled around in this commit, I recommend reviewing
the old and new versions of the function side-by-side rather than trying to make
sense of the diff.
@alexrp alexrp merged commit af89bb0 into ziglang:master Dec 15, 2024
10 checks passed
@alexrp alexrp deleted the cc-args branch December 15, 2024 03:53
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.

1 participant