[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
This commit is contained in:
Kazu Hirata
2023-01-07 13:43:00 -08:00
parent 6fe70cb465
commit f190ce625a
383 changed files with 383 additions and 2 deletions

View File

@@ -50,6 +50,7 @@
#include <cstdlib>
#include <memory>
#include <mutex>
#include <optional>
#include <string>
using namespace lldb;