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
#include <cstddef>
#include <cstdint>
#include <cstring>
+#include <optional>
#include <string>
#include <string_view>
#include <system_error>
bool ShouldClose;
bool SupportsSeeking = false;
bool IsRegularFile = false;
- mutable Optional<bool> HasColors;
+ mutable std::optional<bool> HasColors;
#ifdef _WIN32
/// True if this fd refers to a Windows console device. Mintty and other