Skip to content

Cherry-pick "[clang][cli] Expose -fno-cxx-modules in cc1" #3200

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 26, 2021

Conversation

jansvoboda11
Copy link

No description provided.

For some use-cases, it might be useful to be able to turn off modules for C++ in `-cc1`. (The feature is implied by `-std=C++20`.)

This patch exposes the `-fno-cxx-modules` option in `-cc1`.

Reviewed By: arphaman

Differential Revision: https://reviews.llvm.org/D106864

(cherry-picked from commit 0556138)
@jansvoboda11 jansvoboda11 merged commit b5626c0 into stable/20210726 Aug 26, 2021
@jansvoboda11 jansvoboda11 deleted the jan_svoboda/cherry-pick_2 branch August 26, 2021 16:31
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