diff options
author | Kazu Hirata <kazu@google.com> | 2023-01-14 15:09:00 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-01-14 15:09:00 -0800 |
commit | da6642a1c81bb5ff68153bcdc138e75e6ecdce43 (patch) | |
tree | 5e8ab6c2d1bcaebf2929394f35ab324273ff0218 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 91682b2631b224a9f6dca9512b5e0951cc4a7762 (diff) | |
download | llvm-da6642a1c81bb5ff68153bcdc138e75e6ecdce43.zip llvm-da6642a1c81bb5ff68153bcdc138e75e6ecdce43.tar.gz llvm-da6642a1c81bb5ff68153bcdc138e75e6ecdce43.tar.bz2 |
[llvm] Include <optional> instead of "llvm/ADT/Optional.h" (NFC)
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 'llvm/lib/Support/VirtualFileSystem.cpp')
-rw-r--r-- | llvm/lib/Support/VirtualFileSystem.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/VirtualFileSystem.cpp b/llvm/lib/Support/VirtualFileSystem.cpp index efb5faa8..a167e0a 100644 --- a/llvm/lib/Support/VirtualFileSystem.cpp +++ b/llvm/lib/Support/VirtualFileSystem.cpp @@ -14,7 +14,6 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" -#include "llvm/ADT/Optional.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallVector.h" |