1 change: 1 addition & 0 deletions lldb/source/Target/Trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "lldb/Target/Thread.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Stream.h"
#include <optional>

using namespace lldb;
using namespace lldb_private;
Expand Down
1 change: 1 addition & 0 deletions lldb/source/Target/TraceDumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/SectionLoadList.h"
#include <optional>

using namespace lldb;
using namespace lldb_private;
Expand Down
1 change: 1 addition & 0 deletions lldb/source/Target/UnixSignals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "Plugins/Process/Utility/NetBSDSignals.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Utility/ArchSpec.h"
#include <optional>

using namespace lldb_private;
using namespace llvm;
Expand Down
1 change: 1 addition & 0 deletions lldb/source/Utility/Diagnostics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>

using namespace lldb_private;
using namespace lldb;
Expand Down
1 change: 1 addition & 0 deletions lldb/source/Utility/FileSpec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "llvm/Support/raw_ostream.h"

#include <algorithm>
#include <optional>
#include <system_error>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions lldb/source/Utility/ProcessInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "llvm/ADT/SmallString.h"

#include <climits>
#include <optional>

using namespace lldb;
using namespace lldb_private;
Expand Down
1 change: 1 addition & 0 deletions lldb/source/Utility/SelectHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include <algorithm>
#include <chrono>
#include <optional>

#include <cerrno>
#if defined(_WIN32)
Expand Down
1 change: 1 addition & 0 deletions lldb/source/Utility/StringExtractorGDBRemote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <cctype>
#include <cstring>
#include <optional>

constexpr lldb::pid_t StringExtractorGDBRemote::AllProcesses;
constexpr lldb::tid_t StringExtractorGDBRemote::AllThreads;
Expand Down
1 change: 1 addition & 0 deletions lldb/source/Utility/UriParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <string>

#include <cstdint>
#include <optional>
#include <tuple>

using namespace lldb_private;
Expand Down
1 change: 1 addition & 0 deletions lldb/source/Utility/UserIDResolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include "lldb/Utility/UserIDResolver.h"
#include "llvm/Support/ManagedStatic.h"
#include <optional>

using namespace lldb_private;

Expand Down
1 change: 1 addition & 0 deletions lldb/tools/lldb-server/Acceptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "lldb/Host/common/TCPSocket.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/UriParser.h"
#include <optional>

using namespace lldb;
using namespace lldb_private;
Expand Down
1 change: 1 addition & 0 deletions lldb/tools/lldb-server/lldb-platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <sys/wait.h>
#endif
#include <fstream>
#include <optional>

#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FileUtilities.h"
Expand Down
1 change: 1 addition & 0 deletions lldb/tools/lldb-test/lldb-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#include "llvm/Support/WithColor.h"

#include <cstdio>
#include <optional>
#include <thread>

using namespace lldb;
Expand Down
1 change: 1 addition & 0 deletions lldb/tools/lldb-vscode/FifoFiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <chrono>
#include <fstream>
#include <future>
#include <optional>
#include <thread>

#include "llvm/Support/FileSystem.h"
Expand Down
1 change: 1 addition & 0 deletions lldb/tools/lldb-vscode/JSONUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <algorithm>
#include <iomanip>
#include <optional>
#include <sstream>
#include <string.h>

Expand Down
1 change: 1 addition & 0 deletions lldb/tools/lldb-vscode/JSONUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/JSON.h"
#include <cstdint>
#include <optional>

namespace lldb_vscode {

Expand Down
1 change: 1 addition & 0 deletions lldb/tools/lldb-vscode/ProgressEvent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "ProgressEvent.h"

#include "JSONUtils.h"
#include <optional>

using namespace lldb_vscode;
using namespace llvm;
Expand Down
1 change: 1 addition & 0 deletions lldb/tools/lldb-vscode/ProgressEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <atomic>
#include <mutex>
#include <optional>
#include <queue>
#include <thread>

Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/DataFormatter/StringPrinterTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/raw_ostream.h"
#include "gtest/gtest.h"
#include <optional>
#include <string>

using namespace lldb;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "lldb/lldb-enumerations.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <optional>

using namespace lldb_private;

Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/Language/Highlighting/HighlighterTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "Plugins/Language/ObjC/ObjCLanguage.h"
#include "Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h"
#include "TestingSupport/SubsystemRAII.h"
#include <optional>

using namespace lldb_private;

Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/Platform/PlatformSiginfoTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "gtest/gtest.h"

#include <initializer_list>
#include <optional>
#include <tuple>

#include "Plugins/Platform/FreeBSD/PlatformFreeBSD.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/Process/minidump/MinidumpParserTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

// C++ includes
#include <memory>
#include <optional>

using namespace lldb_private;
using namespace minidump;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "lldb/Host/HostInfo.h"

#include "PythonTestSuite.h"
#include <optional>

using namespace lldb_private;
class TestScriptInterpreterPython : public ScriptInterpreterPythonImpl {
Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/Symbol/TestLineEntry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include "gtest/gtest.h"
#include <iostream>
#include <optional>

#include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
#include "Plugins/SymbolFile/DWARF/DWARFASTParserClang.h"
Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/Target/FindFileTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FileUtilities.h"
#include "gtest/gtest.h"
#include <optional>
#include <utility>

using namespace llvm;
Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/Target/MemoryTagMapTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "Plugins/Process/Utility/MemoryTagManagerAArch64MTE.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <optional>

using namespace lldb_private;
using namespace lldb;
Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "TestingSupport/TestUtilities.h"
#include "lldb/Core/Module.h"
#include "lldb/Host/HostInfo.h"
#include <optional>

namespace lldb_private {

Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/Utility/ProcessInstanceInfoTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include "lldb/Target/Process.h"
#include "gtest/gtest.h"
#include <optional>

using namespace lldb_private;

Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/Utility/RegisterValueTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include "lldb/Utility/RegisterValue.h"
#include "gtest/gtest.h"
#include <optional>

using namespace lldb_private;
using llvm::APInt;
Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/Utility/UserIDResolverTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include "lldb/Utility/UserIDResolver.h"
#include "gmock/gmock.h"
#include <optional>

using namespace lldb_private;
using namespace testing;
Expand Down
1 change: 1 addition & 0 deletions lldb/unittests/tools/lldb-server/tests/TestClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "llvm/Support/Casting.h"
#include "llvm/Support/FormatVariadic.h"
#include <memory>
#include <optional>
#include <string>

#if LLDB_SERVER_IS_DEBUGSERVER
Expand Down