diff options
author | Kazu Hirata <kazu@google.com> | 2023-01-07 13:43:00 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-01-07 13:43:00 -0800 |
commit | f190ce625ab0dc5a5e2b2515e6d26debb34843ab (patch) | |
tree | 75b7c2680b3968db3c05ee3765ee3fe622e630c1 /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | 6fe70cb465654eafafd272231e23762adeab4290 (diff) | |
download | llvm-f190ce625ab0dc5a5e2b2515e6d26debb34843ab.zip llvm-f190ce625ab0dc5a5e2b2515e6d26debb34843ab.tar.gz llvm-f190ce625ab0dc5a5e2b2515e6d26debb34843ab.tar.bz2 |
[lldb] Add #include <optional> (NFC)
This patch adds #include <optional> to those files containing
llvm::Optional<...> or Optional<...>.
I'll post a separate patch to actually replace llvm::Optional with
std::optional.
This is part of an effort to migrate from llvm::Optional to
std::optional:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index a09fe64..29d5c23 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -32,6 +32,7 @@ #include "lldb/Utility/Args.h" #include <memory> +#include <optional> #include <string> using namespace lldb; |