llvm-project/lld/wasm
Kazu Hirata c68af42fa8 [lld] 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 23:12:36 -08:00
..
CMakeLists.txt Reland: "[lld][WebAssembly] Initial support merging string data" 2021-05-10 16:03:38 -07:00
Config.h [wasm-ld] Allow importing/exporting the output module's memory with arbitrary names 2022-10-31 13:59:46 -07:00
Driver.cpp [lld] Use std::nullopt instead of None (NFC) 2022-12-02 23:12:36 -08:00
InputChunks.cpp [lld] Use value_or instead of getValueOr (NFC) 2022-06-19 00:29:41 -07:00
InputChunks.h [lld][Alignment][NFC] Use Align instead of log2 of alignment in Wasm Sections 2022-12-02 12:47:41 +00:00
InputElement.h Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
InputFiles.cpp [lld] Use std::nullopt instead of None (NFC) 2022-12-02 23:12:36 -08:00
InputFiles.h [MC][WebAssembly] Fix crash when relocation addend underlows U32 2022-02-25 07:13:15 -08:00
LTO.cpp [lld] Use std::nullopt instead of None (NFC) 2022-12-02 23:12:36 -08:00
LTO.h
MapFile.cpp [lld] Don't include SetVector.h (NFC) 2022-09-17 13:36:15 -07:00
MapFile.h
MarkLive.cpp [lld][WebAssembly] Rename SymbolTable::getSymbols to match ELF backend. NFC 2022-08-31 14:33:45 -07:00
MarkLive.h
Options.td [wasm-ld] Allow importing/exporting the output module's memory with arbitrary names 2022-10-31 13:59:46 -07:00
OutputSections.cpp Use llvm::count_if (NFC) 2022-09-03 11:17:35 -07:00
OutputSections.h [lld][WebAssembly] Cleanup output of --verbose 2021-09-10 11:35:50 -04:00
OutputSegment.cpp [lld][Alignment][NFC] Use Align instead of log2 of alignment in Wasm Sections 2022-12-02 12:47:41 +00:00
OutputSegment.h [lld][Alignment][NFC] Use Align instead of log2 of alignment in Wasm Sections 2022-12-02 12:47:41 +00:00
Relocations.cpp [lld][WebAssembly] Add --unresolved-symbols=import-dynamic 2022-03-15 15:10:21 -07:00
Relocations.h
SymbolTable.cpp [lld] Don't include SetVector.h (NFC) 2022-09-17 13:36:15 -07:00
SymbolTable.h [lld][WebAssembly] Rename SymbolTable::getSymbols to match ELF backend. NFC 2022-08-31 14:33:45 -07:00
Symbols.cpp [wasm-ld] Allow importing/exporting the output module's memory with arbitrary names 2022-10-31 13:59:46 -07:00
Symbols.h [wasm-ld] Allow importing/exporting the output module's memory with arbitrary names 2022-10-31 13:59:46 -07:00
SyntheticSections.cpp [lld][Alignment][NFC] Use Align instead of log2 of alignment in Wasm Sections 2022-12-02 12:47:41 +00:00
SyntheticSections.h [NFC] use has_value instead of hasValue 2022-10-31 16:43:14 -07:00
Writer.cpp [lld][Alignment][NFC] Use Align instead of log2 of alignment in Wasm Sections 2022-12-02 12:47:41 +00:00
Writer.h
WriterUtils.cpp [WebAssembly] Second phase of implemented extended const proposal 2022-03-14 08:55:47 -07:00
WriterUtils.h [WebAssembly] Second phase of implemented extended const proposal 2022-03-14 08:55:47 -07:00