From: Fangrui Song Date: Sat, 3 Dec 2022 18:49:51 +0000 (+0000) Subject: [lldb] Convert Optional to std::optional X-Git-Tag: upstream/17.0.6~25454 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61cb96404ed27a95df9296460d9920e8c13379e5;p=platform%2Fupstream%2Fllvm.git [lldb] Convert Optional to std::optional --- diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp index 21a434e..d8c6fced 100644 --- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp +++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp @@ -92,7 +92,7 @@ bool RenderScriptRuntimeModulePass::runOnModule(llvm::Module &module) { return false; } - llvm::Optional reloc_model; + std::optional reloc_model; assert(m_process_ptr && "no available lldb process"); switch (m_process_ptr->GetTarget().GetArchitecture().GetMachine()) { case llvm::Triple::ArchType::x86: