diff options
author | Kazu Hirata <kazu@google.com> | 2023-01-14 13:37:25 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-01-14 13:37:25 -0800 |
commit | 2d861436a9eb789bb70a3644393b21e548240ac6 (patch) | |
tree | eb1f2aff69e9cff73a6f7ebdf3aac5550da74e6e /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | 471facf5468a33d1ddc995b3a0cbe077aa6152dc (diff) | |
download | llvm-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/CodeGen/CoverageMappingGen.cpp')
-rw-r--r-- | clang/lib/CodeGen/CoverageMappingGen.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CoverageMappingGen.cpp b/clang/lib/CodeGen/CoverageMappingGen.cpp index bd39dbd..101cd6a 100644 --- a/clang/lib/CodeGen/CoverageMappingGen.cpp +++ b/clang/lib/CodeGen/CoverageMappingGen.cpp @@ -17,7 +17,6 @@ #include "clang/Basic/FileManager.h" #include "clang/Frontend/FrontendDiagnostic.h" #include "clang/Lex/Lexer.h" -#include "llvm/ADT/Optional.h" #include "llvm/ADT/SmallSet.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ProfileData/Coverage/CoverageMapping.h" |