llvm-project/clang/unittests/Basic
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
..
CMakeLists.txt [clang] Emit SARIF Diagnostics: Create `clang::SarifDocumentWriter` interface 2022-07-18 08:37:59 -04:00
CharInfoTest.cpp Cleanup identifier parsing; NFC 2021-09-14 09:12:22 -04:00
DarwinSDKInfoTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
DiagnosticTest.cpp Implement soft reset of the diagnostics engine. 2022-06-24 14:46:54 +00:00
FileEntryTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
FileManagerTest.cpp [clang] Fix redirection behaviour for cached FileEntryRef 2022-08-05 12:23:38 -07:00
LineOffsetMappingTest.cpp
SanitizersTest.cpp [clang][cli] Generate and round-trip language options 2021-02-09 10:18:55 +01:00
SarifTest.cpp Refactor StaticAnalyzer to use `clang::SarifDocumentWriter` 2022-11-17 14:47:02 -05:00
SourceManagerTest.cpp Fix SourceManager::isBeforeInTranslationUnit bug with token-pasting 2022-10-05 18:29:01 +02:00