llvm-project/clang/unittests/StaticAnalyzer
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
..
AnalyzerOptionsTest.cpp
BugReportInterestingnessTest.cpp [analyzer][NFC] Separate CallDescription from CallEvent 2021-11-15 19:10:46 +01:00
CMakeLists.txt [Testing] Drop clangTesting from clang's public library interface 2022-04-20 13:28:44 +02:00
CallDescriptionTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
CallEventTest.cpp [analyzer][NFCI] Allow clients of NoStateChangeFuncVisitor to check entire function calls, rather than each ExplodedNode in it 2021-09-13 13:50:01 +02:00
CheckerRegistration.h Fix a unittest file after D108695 when Z3 is enabled 2021-09-14 16:11:11 +02:00
ConflictingEvalCallsTest.cpp [analyzer][NFC] Switch to using CallDescription::matches() instead of isCalled() 2021-11-19 18:32:13 +01:00
FalsePositiveRefutationBRVisitorTest.cpp [analyzer][NFC] Separate CallDescription from CallEvent 2021-11-15 19:10:46 +01:00
NoStateChangeFuncVisitorTest.cpp [analyzer][NFC] Switch to using CallDescription::matches() instead of isCalled() 2021-11-19 18:32:13 +01:00
ParamRegionTest.cpp
RangeSetTest.cpp [Clang][unittests] Silence trucation warning with MSVC 2022 2022-07-05 20:31:54 -04:00
RegisterCustomCheckersTest.cpp [analyzer][NFCI] Allow clients of NoStateChangeFuncVisitor to check entire function calls, rather than each ExplodedNode in it 2021-09-13 13:50:01 +02:00
Reusables.h [clang][Analyzer] Add symbol uninterestingness to bug report. 2021-07-15 10:02:18 +02:00
SValTest.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
StoreTest.cpp
SymbolReaperTest.cpp
TestReturnValueUnderConstruction.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00