summaryrefslogtreecommitdiff
path: root/lldb/tools
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-01-07 14:36:35 -0800
committerKazu Hirata <kazu@google.com>2023-01-07 14:36:35 -0800
commit570117b6a5c8d1bd4e611aa3087794c215753ab7 (patch)
tree6aaedb46681e45248cf6bb4d78f8d44e5ef9d931 /lldb/tools
parent2fe8327406050d2585d2ced910a678e28caefcf5 (diff)
downloadllvm-570117b6a5c8d1bd4e611aa3087794c215753ab7.tar.gz
[lldb] Remove remaining uses of llvm::Optional (NFC)
This patch removes the unused "using" declarations, updates comments, and removes #include "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
Diffstat (limited to 'lldb/tools')
-rw-r--r--lldb/tools/lldb-vscode/JSONUtils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/tools/lldb-vscode/JSONUtils.cpp b/lldb/tools/lldb-vscode/JSONUtils.cpp
index 82f591148811..8ec38a495777 100644
--- a/lldb/tools/lldb-vscode/JSONUtils.cpp
+++ b/lldb/tools/lldb-vscode/JSONUtils.cpp
@@ -12,7 +12,6 @@
#include <sstream>
#include <string.h>
-#include "llvm/ADT/Optional.h"
#include "llvm/Support/FormatAdapters.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/ScopedPrinter.h"