llvm-project/llvm/unittests/CodeGen
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
..
GlobalISel [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
AArch64SelectionDAGTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
AMDGPUMetadataTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
AllocationOrderTest.cpp
AsmPrinterDwarfTest.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
CMakeLists.txt [mlgo] Add in-development instruction based features for regalloc advisor 2022-09-17 19:54:45 +00:00
DIEHashTest.cpp [DWARF] Add linkagename to hash 2022-07-08 10:15:25 -07:00
DIETest.cpp [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter. 2022-01-12 13:15:26 +03:00
DwarfStringPoolEntryRefTest.cpp [reland][Debuginfo][DWARF][NFC] Refactor DwarfStringPoolEntryRef. 2022-07-01 20:08:09 +03:00
InstrRefLDVTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
LexicalScopesTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
LowLevelTypeTest.cpp GlobalISel: Add LLT helper to multiply vector sizes 2022-04-19 21:04:32 -04:00
MFCommon.inc [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
MLRegallocDevelopmentFeatures.cpp [MLGO] Add per-instruction MBB frequencies to regalloc dev features 2022-09-28 18:45:04 +00:00
MachineInstrBundleIteratorTest.cpp Reland "[llvm][NFC] Use c++17 style variable type traits" 2022-11-08 14:15:15 +00:00
MachineInstrTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
MachineOperandTest.cpp [unittests/CodeGen] Remove unique_ptr from the result of createTargetMachine 2022-08-16 22:06:50 +00:00
PassManagerTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
RegAllocScoreTest.cpp Fix MSVC "not all control paths return a value" warning. NFC. 2021-12-07 18:09:44 +00:00
ScalableVectorMVTsTest.cpp
SelectionDAGAddressAnalysisTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
TargetOptionsTest.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
TestAsmPrinter.cpp [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
TestAsmPrinter.h [MC] Lower case the first letter of EmitCOFF* EmitWin* EmitCV*. NFC 2022-05-26 00:14:08 -07:00
TypeTraitsTest.cpp Reland "[llvm][NFC] Use c++17 style variable type traits" 2022-11-08 14:15:15 +00:00