llvm-project/llvm/lib/Transforms
Kazu Hirata 343de6856e [Transforms] 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:37 -08:00
..
AggressiveInstCombine [AggressiveInstCombine] Handle the insert point of the merged load correctly. 2022-11-29 10:53:51 +00:00
CFGuard [NFC] Removed call to getInstList() from range loops on BBs. 2022-11-29 17:33:10 -08:00
Coroutines [Transforms] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:37 -08:00
Hello
IPO [Transforms] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:37 -08:00
InstCombine [Transforms] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:37 -08:00
Instrumentation [Transforms] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:37 -08:00
ObjCARC [Transforms] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:37 -08:00
Scalar [Transforms] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:37 -08:00
Utils [Transforms] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:37 -08:00
Vectorize [Transforms] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:37 -08:00
CMakeLists.txt