[C++20] [Module] Support reachable definition initially/partiallyThis patch introduces a new kind of ModuleOwnershipKind asReachableWhenImported. This intended the status for reachable describeda
[C++20] [Module] Support reachable definition initially/partiallyThis patch introduces a new kind of ModuleOwnershipKind asReachableWhenImported. This intended the status for reachable describedat: https://eel.is/c++draft/module.reach#3.Note that this patch is not intended to support all semantics aboutreachable semantics. For example, this patch didn't implement discardeddeclarations in GMF. (https://eel.is/c++draft/module.global.frag#3).This fixes: https://bugs.llvm.org/show_bug.cgi?id=52281 andhttps://godbolt.org/z/81f3ocjfW.Reviewed By: rsmith, iainsDifferential Revision: https://reviews.llvm.org/D113545
show more ...
Revert "[C++20] [Modules] Implement Reachable initiallly"This reverts commit a223ba0a697c1598b434cf2495c9cd9ec5640fc7.The previous commit don't contain additional information, which is bad.
[C++20] [Modules] Implement Reachable initiallly
[NFC] Format .cppm files in tests
Revert "[NFC] format .cppm files in test"This reverts commit 7c51a128339184c64307f3862e4cd36bf996189b.Breaks SemaCXX/modules-ts.cppm in check-clang.
[NFC] format .cppm files in test
[modules ts] Declarations from a module interface unit are only visible outsidethe module if declared in an export block. llvm-svn: 307115