llvm-project/llvm/lib/Target/WebAssembly/Utils
Kazu Hirata 20cde15415 [Target] 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 20:36:06 -08:00
..
CMakeLists.txt
WebAssemblyTypeUtilities.cpp [Target] Use std::nullopt instead of None (NFC) 2022-12-02 20:36:06 -08:00
WebAssemblyTypeUtilities.h [WebAssembly][NFC] Reuse the regClassToValType helper in WebAssemblyMCInstLower 2022-07-06 13:56:10 +01:00
WebAssemblyUtilities.cpp [WebAssembly][NFC] Consolidate TargetRegisterClass=>COPY opcode conversion into a single helper 2022-07-06 14:43:49 +01:00
WebAssemblyUtilities.h [WebAssembly][NFC] Consolidate TargetRegisterClass=>COPY opcode conversion into a single helper 2022-07-06 14:43:49 +01:00