llvm-project/llvm/unittests/Transforms/Utils
Kazu Hirata b6a01caa64 [llvm/unittests] 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 22:10:37 -08:00
..
ASanStackFrameLayoutTest.cpp
BasicBlockUtilsTest.cpp Cleanup includes: TransformsUtils 2022-03-01 21:00:07 +01:00
CMakeLists.txt [llvm] Provide utility function for MD_prof 2022-07-27 21:13:51 +00:00
CallPromotionUtilsTest.cpp
CloningTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
CodeExtractorTest.cpp [NFC] Add #include for constants 2022-02-23 01:23:45 -08:00
CodeMoverUtilsTest.cpp
DebugifyTest.cpp [Debugify] Optimize debugify original mode 2022-03-22 12:14:00 +01:00
FunctionComparatorTest.cpp
IntegerDivisionTest.cpp [IntegerDivision][AMDGPU] Use CreateLogicalOr to block poison propagation. 2022-09-15 09:38:02 -07:00
LocalTest.cpp [NFC] format InstructionSimplify & lowerCaseFunctionNames 2022-06-09 16:10:08 +02:00
LoopRotationUtilsTest.cpp
LoopUtilsTest.cpp
MemTransferLowering.cpp Add support for atomic memory copy lowering 2022-04-08 10:41:31 +07:00
ModuleUtilsTest.cpp
ProfDataUtilTest.cpp [llvm] Provide utility function for MD_prof 2022-07-27 21:13:51 +00:00
SSAUpdaterBulkTest.cpp
ScalarEvolutionExpanderTest.cpp [SCEVExpander] Make CanonicalMode handing in isSafeToExpand() more robust (PR50506) 2022-07-14 14:41:51 +02:00
SizeOptsTest.cpp
UnrollLoopTest.cpp
VFABIUtils.cpp
ValueMapperTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00