llvm-project/clang/unittests
Kazu Hirata a41fbb1fc2 [clang/unittests] 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 12:14:19 -08:00
..
AST [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
ASTMatchers Revert "[clang] Pass FoundDecl to DeclRefExpr creator for operator overloads" 2022-08-04 12:14:43 +02:00
Analysis [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
Basic [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
CodeGen [clang][TargetInfo] Use LangAS for getPointer{Width,Align}() 2022-11-30 20:24:01 +00:00
CrossTU [analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file 2022-03-22 10:28:42 +08:00
DirectoryWatcher [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
Driver [Driver] Enable nested configuration files 2022-11-16 13:32:27 +07:00
Format [clang-format] Don't move comments if AlignTrailingComments: Leave 2022-12-01 16:07:06 -08:00
Frontend [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
Interpreter [clang-repl] Support statements on global scope in incremental mode. 2022-12-03 07:18:07 +00:00
Introspection [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
Lex [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
Rename Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Rewrite
Sema [clang] Add [is|set]Nested methods to NamespaceDecl 2022-11-24 12:44:35 +00:00
Serialization [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
StaticAnalyzer [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
Support [clang] Fix time profile in "isIntegerConstantExpr" 2022-10-23 23:17:56 +00:00
Tooling [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
libclang [clang] Use std::size (NFC) 2022-11-26 13:58:48 -08:00
CMakeLists.txt [clang] Add time profile for constant evaluation 2022-10-21 23:24:44 +00:00