diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-06 22:34:50 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-06 22:34:50 -0800 |
commit | 934942c0331a078acc9350dc3ba7790a0e2698a8 (patch) | |
tree | aa17fd55d544f81cee992f06da76d9f9fa756b1f /llvm/lib/Support/CommandLine.cpp | |
parent | 7883e5b061bdbbe8bee5f479ebe911db5045b7e9 (diff) | |
download | llvm-934942c0331a078acc9350dc3ba7790a0e2698a8.zip llvm-934942c0331a078acc9350dc3ba7790a0e2698a8.tar.gz llvm-934942c0331a078acc9350dc3ba7790a0e2698a8.tar.bz2 |
[llvm] Don't include Optional.h (NFC)
These source files no longer use Optional<T>, so they do not need to
include 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 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 20a2e85..24fe049 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -21,7 +21,6 @@ #include "llvm-c/Support.h" #include "llvm/ADT/ArrayRef.h" -#include "llvm/ADT/Optional.h" #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallString.h" |