diff options
author | Kazu Hirata <kazu@google.com> | 2022-06-20 11:33:56 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-06-20 11:33:56 -0700 |
commit | 5413bf1bac2abb9e06901686cdc959e92940143a (patch) | |
tree | a42296527af30ca8290635358e131e98d41b46ab /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | 037f09959ac966cc284f7bdbfb3de6b8e8554fc7 (diff) | |
download | llvm-5413bf1bac2abb9e06901686cdc959e92940143a.zip llvm-5413bf1bac2abb9e06901686cdc959e92940143a.tar.gz llvm-5413bf1bac2abb9e06901686cdc959e92940143a.tar.bz2 |
Don't use Optional::hasValue (NFC)
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index 5ba28d2c..4081e87 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -304,7 +304,7 @@ protected: Thread *thread = m_exe_ctx.GetThreadPtr(); uint32_t frame_idx = UINT32_MAX; - if (m_options.relative_frame_offset.hasValue()) { + if (m_options.relative_frame_offset) { // The one and only argument is a signed relative frame index frame_idx = thread->GetSelectedFrameIndex(); if (frame_idx == UINT32_MAX) |