Skip to content

Conversation

@mccakit
Copy link

@mccakit mccakit commented Nov 2, 2025

This PR adds C++20 Module support to clang, based on this draft
#14989

@mccakit mccakit requested a review from jpakkane as a code owner November 2, 2025 18:12
@mccakit mccakit changed the title C++20 Modules Support for Clang C++20 Modules Support for Clang/libc++ Nov 2, 2025
@mccakit
Copy link
Author

mccakit commented Nov 2, 2025

Currently, only files that exports a module with the filename work
ie hello.cppm with hello module, and all .pcm modules are at the build folder.

That is all I could make of the draft, now it does solve my use case, given that I never needed to create a .cppm file and export a module with a different name but obviously for the future a more complicated mechanism is needed.

So I want this PR to be a starting point of some sort, so people can try out modules improve this PR to a usable state.

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