llvm-project/llvm/lib/TableGen
Kazu Hirata aadaaface2 [llvm] 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:44 -08:00
..
CMakeLists.txt
DetailedRecordsBackend.cpp
Error.cpp [TableGen] Remove the use of global Record state 2022-05-11 11:55:33 -07:00
JSONBackend.cpp [llvm] Qualify auto in range-based for loops (NFC) 2022-08-28 23:29:00 -07:00
Main.cpp
Parser.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
Record.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
SetTheory.cpp Revert "[NFC] Make format() more amenable to format attributes" 2022-11-16 19:09:49 +04:00
StringMatcher.cpp
TGLexer.cpp [TableGen] Add log bang operator 2022-10-26 09:16:32 -07:00
TGLexer.h [TableGen] Add log bang operator 2022-10-26 09:16:32 -07:00
TGParser.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
TGParser.h [TableGen] Only track reference locations if asked 2022-09-28 00:47:57 -07:00
TableGenBackend.cpp
TableGenBackendSkeleton.cpp