Revert "[C++20][Modules] Introduce an implementation module."

This reverts commit c6e9823724.

Reason: Broke the ASan buildbots, see https://reviews.llvm.org/D126959
(the original phabricator review) for more info.
This commit is contained in:
Mitch Phillips
2023-03-27 04:33:53 -07:00
parent 5ca710ab14
commit 074f6fd61d
14 changed files with 61 additions and 149 deletions

View File

@@ -548,8 +548,6 @@ void CodeGenModule::Release() {
GlobalTopLevelStmtBlockInFlight = {nullptr, nullptr};
}
// Module implementations are initialized the same way as a regular TU that
// imports one or more modules.
if (CXX20ModuleInits && Primary && Primary->isInterfaceOrPartition())
EmitCXXModuleInitFunc(Primary);
else