Include <optional> instead of "llvm/ADT/Optional.h"
authorKazu Hirata <kazu@google.com>
Sun, 18 Dec 2022 08:28:54 +0000 (00:28 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 18 Dec 2022 08:28:54 +0000 (00:28 -0800)
commit541ef3d61e9341cd38420c0dbca9250c4d0ea04c
tree733935732f2a92b056d04f622b6e9acf48f120ba
parent9c1b82599dac63816cbed80270aaec85a6fa153b
Include <optional> instead of "llvm/ADT/Optional.h"

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
clang-tools-extra/clangd/Config.h
llvm/include/llvm/Support/Allocator.h
llvm/include/llvm/Support/FormatProviders.h
llvm/include/llvm/Support/NativeFormatting.h
llvm/include/llvm/Support/VersionTuple.h
llvm/include/llvm/Support/VirtualFileSystem.h
llvm/lib/Support/OptimizedStructLayout.cpp
llvm/lib/Support/Threading.cpp