aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-01-14 13:37:25 -0800
committerKazu Hirata <kazu@google.com>2023-01-14 13:37:25 -0800
commit2d861436a9eb789bb70a3644393b21e548240ac6 (patch)
treeeb1f2aff69e9cff73a6f7ebdf3aac5550da74e6e /clang/lib/Frontend/CompilerInvocation.cpp
parent471facf5468a33d1ddc995b3a0cbe077aa6152dc (diff)
downloadllvm-2d861436a9eb789bb70a3644393b21e548240ac6.zip
llvm-2d861436a9eb789bb70a3644393b21e548240ac6.tar.gz
llvm-2d861436a9eb789bb70a3644393b21e548240ac6.tar.bz2
[clang] Remove remaining uses of llvm::Optional (NFC)
This patch removes several "using" declarations and #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 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 032940a..0bb9c8c 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -52,7 +52,6 @@
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/FloatingPointMode.h"
#include "llvm/ADT/Hashing.h"
-#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"