Skip to content

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

Open
@ChuanqiXu9

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

clang:modulesC++20 modules and Clang Header Modules

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions