Index: llvm/tools/lli/lli.cpp =================================================================== --- llvm/tools/lli/lli.cpp +++ llvm/tools/lli/lli.cpp @@ -897,19 +897,19 @@ CacheManager = std::make_unique(ObjectCacheDir); Builder.setCompileFunctionCreator( - [&](orc::JITTargetMachineBuilder &JTMB) + [&](orc::JITTargetMachineBuilder &JTMB) -> Expected> { - if (LazyJITCompileThreads > 0) - return std::make_unique(std::move(JTMB), - CacheManager.get()); + if (LazyJITCompileThreads > 0) + return std::make_unique( + std::move(JTMB), CacheManager.get()); - auto TM = JTMB.createTargetMachine(); - if (!TM) - return TM.takeError(); + auto TM = JTMB.createTargetMachine(); + if (!TM) + return TM.takeError(); - return std::make_unique(std::move(*TM), - CacheManager.get()); - }); + return std::make_unique( + std::move(*TM), CacheManager.get()); + }); } // Set up LLJIT platform.