llvm-project/llvm/lib/LTO
Kazu Hirata aadaaface2 [llvm] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::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
2022-12-02 21:11:44 -08:00
..
CMakeLists.txt [Support][ThinLTO] Move ThinLTO caching to LLVM Support library 2021-10-18 18:57:25 -07:00
LTO.cpp Remove TargetMachine::adjustPassManager 2022-11-28 10:24:16 +01:00
LTOBackend.cpp Use PassGate from LLVMContext if any otherwise global one 2022-11-25 15:13:04 +07:00
LTOCodeGenerator.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
LTOModule.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
SummaryBasedOptimizations.cpp Apply clang-tidy fixes for readability-redundant-smartptr-get in SummaryBasedOptimizations.cpp (NFC) 2022-03-28 09:18:31 -07:00
ThinLTOCodeGenerator.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
UpdateCompilerUsed.cpp