llvm-project/clang/lib/ARCMigrate
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
..
ARCMT.cpp Revert "Revert "Use VersionTuple for parsing versions in Triple, fixing issues that caused the original change to be reverted. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible."" 2021-12-07 23:15:21 +00:00
ARCMTActions.cpp [NFC] Typo fix in ARCMTActions.h 2022-09-18 12:34:24 +05:30
CMakeLists.txt
FileRemapper.cpp [SystemZ][z/OS] Set files in FileRemapper.cpp are text 2021-04-19 07:59:42 -04:00
Internals.h [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ObjCMT.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
PlistReporter.cpp
TransAPIUses.cpp
TransARCAssign.cpp
TransAutoreleasePool.cpp [clang] Remove redundant member initialization (NFC) 2022-01-02 10:20:23 -08:00
TransBlockObjCVariable.cpp
TransEmptyStatementsAndDealloc.cpp [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
TransGCAttrs.cpp Use CTAD on llvm::SaveAndRestore 2022-12-02 15:36:12 -08:00
TransGCCalls.cpp
TransProperties.cpp
TransProtectedScope.cpp
TransRetainReleaseDealloc.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
TransUnbridgedCasts.cpp [clang] Use StringRef::contains (NFC) 2021-10-21 08:58:19 -07:00
TransUnusedInitDelegate.cpp
TransZeroOutPropsInDealloc.cpp
TransformActions.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
Transforms.cpp [clang] Don't use Optional::hasValue (NFC) 2022-06-20 10:51:34 -07:00
Transforms.h