aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.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/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.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/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
-rw-r--r--lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp b/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
index c570c08..a279038 100644
--- a/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
+++ b/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
@@ -18,6 +18,7 @@
#include "gmock/gmock.h"
#include <future>
#include <limits>
+#include <optional>
using namespace lldb_private::process_gdb_remote;
using namespace lldb_private;