llvm-project/llvm/tools/bugpoint
Kazu Hirata b4482f7ca0 [tools] 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:40 -08:00
..
BugDriver.cpp
BugDriver.h [llvm] Remove unused forward declarations (NFC) 2022-01-07 20:00:34 -08:00
CMakeLists.txt
CrashDebugger.cpp [NFC] Replaced BB->getInstList().{erase(),pop_front(),pop_back()} with eraseFromParent(). 2022-11-23 22:47:46 -08:00
ExecutionDriver.cpp Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 01:07:51 -07:00
ExtractFunction.cpp [NFC] Replaced BB->getInstList().{erase(),pop_front(),pop_back()} with eraseFromParent(). 2022-11-23 22:47:46 -08:00
FindBugs.cpp [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
ListReducer.h
Miscompilation.cpp [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
OptimizerDriver.cpp Support: Convert Program APIs to std::optional 2022-12-01 17:00:44 -05:00
ToolRunner.cpp [tools] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:40 -08:00
ToolRunner.h
bugpoint.cpp [AggressiveInstCombine] Remove legacy PM pass 2022-11-15 14:35:15 -08:00