llvm-project/clang/lib/Serialization
Kazu Hirata 5891420e68 [clang] 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-03 11:54:46 -08:00
..
ASTCommon.cpp [clang-repl] Support statements on global scope in incremental mode. 2022-12-03 07:18:07 +00:00
ASTCommon.h
ASTReader.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ASTReaderDecl.cpp [clang-repl] Support statements on global scope in incremental mode. 2022-12-03 07:18:07 +00:00
ASTReaderInternals.h [clang] Remove unused forward declarations (NFC) 2022-01-08 11:56:40 -08:00
ASTReaderStmt.cpp Revert "Implement CWG2631" 2022-11-30 16:03:05 +01:00
ASTWriter.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ASTWriterDecl.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ASTWriterStmt.cpp Revert "Implement CWG2631" 2022-11-30 16:03:05 +01:00
CMakeLists.txt
GeneratePCH.cpp [Serialization] Remove `ORIGINAL_PCH_DIR` record 2022-08-05 15:40:33 -07:00
GlobalModuleIndex.cpp [Clang] Use std::move in GlobalModuleIndex::readIndex. NFC 2022-04-26 16:45:01 +08:00
InMemoryModuleCache.cpp
ModuleFile.cpp
ModuleFileExtension.cpp [modules] Use `HashBuilder` and `MD5` for the module hash. 2021-09-03 11:13:36 -07:00
ModuleManager.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
MultiOnDiskHashTable.h
PCHContainerOperations.cpp