aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSource.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-01-07 13:43:00 -0800
committerKazu Hirata <kazu@google.com>2023-01-07 13:43:00 -0800
commitf190ce625ab0dc5a5e2b2515e6d26debb34843ab (patch)
tree75b7c2680b3968db3c05ee3765ee3fe622e630c1 /lldb/source/Commands/CommandObjectSource.cpp
parent6fe70cb465654eafafd272231e23762adeab4290 (diff)
downloadllvm-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/CommandObjectSource.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectSource.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp
index fd028d4..2c84e6f 100644
--- a/lldb/source/Commands/CommandObjectSource.cpp
+++ b/lldb/source/Commands/CommandObjectSource.cpp
@@ -25,6 +25,7 @@
#include "lldb/Target/SectionLoadList.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Utility/FileSpec.h"
+#include <optional>
using namespace lldb;
using namespace lldb_private;