diff --git a/llvm/docs/ORCv2.rst b/llvm/docs/ORCv2.rst index 910ef5b9f3d02..333977a0aaa66 100644 --- a/llvm/docs/ORCv2.rst +++ b/llvm/docs/ORCv2.rst @@ -780,7 +780,7 @@ constructs a new ThreadSafeContext value from a std::unique_ptr: // separate context. for (const auto &IRPath : IRPaths) { auto Ctx = std::make_unique(); - auto M = std::make_unique("M", *Ctx); + auto M = std::make_unique("M", *Ctx); CompileLayer.add(MainJD, ThreadSafeModule(std::move(M), std::move(Ctx))); }