From 77c90c8ce0fe763b6ee2809a6dc437d6f18e1af2 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 20 Dec 2022 15:42:32 -0800 Subject: [llvm] Use std::optional instead of 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 --- llvm/lib/Support/VirtualFileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/VirtualFileSystem.cpp') diff --git a/llvm/lib/Support/VirtualFileSystem.cpp b/llvm/lib/Support/VirtualFileSystem.cpp index fb6ce477777a..efb5faa8e143 100644 --- a/llvm/lib/Support/VirtualFileSystem.cpp +++ b/llvm/lib/Support/VirtualFileSystem.cpp @@ -1638,7 +1638,7 @@ class llvm::vfs::RedirectingFileSystemParser { return std::nullopt; } - Optional + std::optional parseRootRelativeKind(yaml::Node *N) { SmallString<12> Storage; StringRef Value; -- cgit v1.2.3