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

[C++20] [Modules] Offer an option to not import function definitions from other module units #61015

Open
ChuanqiXu9 opened this issue Feb 27, 2023 · 1 comment
Assignees
Labels
clang:modules C++20 modules and Clang Header Modules

Comments

@ChuanqiXu9
Copy link
Member

To address #60996

The root cause of issue 60996 is that we will import the function definitions from the imported modules within optimizations. The intention is to enable inlining across module units. Otherwise we will meet the performance regression after we refactor the transitional project into module-based style, which is not accepted to C++ programs.

But to address from issue 60996, we at least should provide an option for this to give the users a choice.

@llvmbot
Copy link
Member

llvmbot commented Feb 27, 2023

@llvm/issue-subscribers-clang-modules

@mizvekov mizvekov pinned this issue Jan 14, 2024
@mizvekov mizvekov unpinned this issue Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:modules C++20 modules and Clang Header Modules
Projects
None yet
Development

No branches or pull requests

3 participants