diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp index b69cde0695b0b6..065350e74df3bb 100644 --- a/clang/lib/CodeGen/CodeGenAction.cpp +++ b/clang/lib/CodeGen/CodeGenAction.cpp @@ -1177,7 +1177,7 @@ void CodeGenAction::ExecuteAction() { BackendConsumer Result(CI, BA, &CI.getVirtualFileSystem(), CI.getCASOpts(), *VMContext, std::move(LinkModules), "", nullptr, nullptr, - TheModule.get(), nullptr); + nullptr, TheModule.get()); // Link in each pending link module. if (!CodeGenOpts.LinkBitcodePostopt && Result.LinkInModules(&*TheModule))