aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2023-03-27 04:33:53 -0700
committerMitch Phillips <31459023+hctim@users.noreply.github.com>2023-03-27 05:01:53 -0700
commit074f6fd61d382ff6bf108472ea701d214b02f64b (patch)
treedb2237cc4871c1634b3cf910f25751da51a06a06 /clang/lib/CodeGen/CodeGenModule.cpp
parent5ca710ab148b0815c2b7b03fe2af643e637bbc7d (diff)
downloadllvm-074f6fd61d382ff6bf108472ea701d214b02f64b.zip
llvm-074f6fd61d382ff6bf108472ea701d214b02f64b.tar.gz
llvm-074f6fd61d382ff6bf108472ea701d214b02f64b.tar.bz2
Revert "[C++20][Modules] Introduce an implementation module."
This reverts commit c6e9823724ef6bdfee262289ee34d162db436af0. Reason: Broke the ASan buildbots, see https://reviews.llvm.org/D126959 (the original phabricator review) for more info.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index bd1ee2a..0e33e96 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -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