Repository navigation
[C++20] [Modules] Handling merging predefined decls from std - #219151
Merged
Merged
Conversation
Close llvm#218152 This was only reported in windows as MSSTL chose to implement std module by wrapping the STL into extern "C++", which is different from libstdc++ and libc++. But technically this is not specific to windows and we're able to preoduce it in linux although we won't face it in linux.
Contributor
|
I think we should backport this to LLVM 23. |
Contributor
|
/cherry-pick 5277447 |
Member
|
/pull-request #219865 |
tru
pushed a commit
that referenced
this pull request
Sep 1, 2026
Close #218152 This was only reported in windows as MSSTL chose to implement std module by wrapping the STL into extern "C++", which is different from libstdc++ and libc++. But technically this is not specific to windows and we're able to preoduce it in linux although we won't face it in linux. (cherry picked from commit 5277447)
wlemkows
pushed a commit
to wlemkows/llvm-project
that referenced
this pull request
Sep 4, 2026
…9151) Close llvm#218152 This was only reported in windows as MSSTL chose to implement std module by wrapping the STL into extern "C++", which is different from libstdc++ and libc++. But technically this is not specific to windows and we're able to preoduce it in linux although we won't face it in linux.
asudarsa-qti
pushed a commit
to asudarsa-qti/llvm-project
that referenced
this pull request
Sep 4, 2026
…9151) Close llvm#218152 This was only reported in windows as MSSTL chose to implement std module by wrapping the STL into extern "C++", which is different from libstdc++ and libc++. But technically this is not specific to windows and we're able to preoduce it in linux although we won't face it in linux.
Orphis
added a commit
to Orphis/hermetic-cpp-cmake
that referenced
this pull request
Sep 26, 2026
* Index: LLVM 23.1.2 (llvm-23.1.2-1), now the default
Imported from hermeticbuild/hermetic-llvm 39e71f9 ("Update LLVM to
23.1.2 and use new prebuilts"): the llvm-23.1.2-1 prebuilts for every
host and the 23.1.2 source archive for runtime sets. 23.1.2 carries
llvm/llvm-project#219151, which fixes building the MSVC STL's std module
(llvm/llvm-project#218152, a 23.1.0 regression).
scripts/import_hermetic_llvm_data.py kept only what it imports in
runtime_sources.json and dropped our own mingw entry; it now keeps
entries it does not import.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Selection test: latest is 23.1.2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Close #218152
Close #214354
This was only reported in windows as MSSTL chose to implement std module by wrapping the STL into extern "C++", which is different from libstdc++ and libc++.
But technically this is not specific to windows and we're able to preoduce it in linux although we won't face it in linux.