aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectExpression.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp
index be306f2..b01e39f 100644
--- a/lldb/source/Commands/CommandObjectExpression.cpp
+++ b/lldb/source/Commands/CommandObjectExpression.cpp
@@ -374,7 +374,7 @@ CommandObjectExpression::GetEvalOptions(const Target &target) {
if (m_command_options.timeout > 0)
options.SetTimeout(std::chrono::microseconds(m_command_options.timeout));
else
- options.SetTimeout(llvm::None);
+ options.SetTimeout(std::nullopt);
return options;
}
@@ -540,7 +540,7 @@ GetExprOptions(ExecutionContext &ctx,
if (command_options.timeout > 0)
expr_options.SetTimeout(std::chrono::microseconds(command_options.timeout));
else
- expr_options.SetTimeout(llvm::None);
+ expr_options.SetTimeout(std::nullopt);
return expr_options;
}