llvm-project/clang/lib/StaticAnalyzer/Core
Kazu Hirata 22731dbd75 [clang] Use std::nullopt instead of None in comments (NFC)
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-04 20:31:05 -08:00
..
APSIntType.cpp
AnalysisManager.cpp
AnalyzerOptions.cpp [StaticAnalyzer] Use std::nullopt instead of None (NFC) 2022-12-03 11:34:24 -08:00
BasicValueFactory.cpp
BlockCounter.cpp
BugReporter.cpp [clang] Use std::nullopt instead of None in comments (NFC) 2022-12-04 15:57:24 -08:00
BugReporterVisitors.cpp [clang] Use std::nullopt instead of None in comments (NFC) 2022-12-04 20:31:05 -08:00
CMakeLists.txt [analyzer][NFC] Separate CallDescription from CallEvent 2021-11-15 19:10:46 +01:00
CallDescription.cpp [StaticAnalyzer] Use std::nullopt instead of None (NFC) 2022-12-03 11:34:24 -08:00
CallEvent.cpp [StaticAnalyzer] Use std::nullopt instead of None (NFC) 2022-12-03 11:34:24 -08:00
Checker.cpp
CheckerContext.cpp [analyzer][NFC] Prefer using isa<> instead getAs<> in conditions 2022-06-15 16:58:13 +02:00
CheckerHelpers.cpp [StaticAnalyzer] Use std::nullopt instead of None (NFC) 2022-12-03 11:34:24 -08:00
CheckerManager.cpp [analyzer] Dump checker name if multiple checkers evaluate the same call 2021-11-02 14:42:14 +01:00
CheckerRegistryData.cpp
CommonBugCategories.cpp
ConstraintManager.cpp [analyzer][NFC] Add LLVM_UNLIKELY to assumeDualImpl 2022-06-07 12:48:48 +02:00
CoreEngine.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
DynamicExtent.cpp [analyzer] Fix crash for array-delete of UnknownVal values. 2022-11-09 15:06:46 +01:00
DynamicType.cpp [clang] Add a raw_ostream operator<< overload for QualType 2022-04-20 22:09:05 +01:00
Environment.cpp [analyzer] Dump the environment entry kind as well 2022-09-13 09:04:27 +02:00
ExplodedGraph.cpp [analyzer][NFC] Refactor llvm::isa<> usages in the StaticAnalyzer 2021-10-20 17:43:31 +02:00
ExprEngine.cpp [clang] Use std::nullopt instead of None in comments (NFC) 2022-12-04 20:31:05 -08:00
ExprEngineC.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
ExprEngineCXX.cpp [StaticAnalyzer] Use std::nullopt instead of None (NFC) 2022-12-03 11:34:24 -08:00
ExprEngineCallAndReturn.cpp Use CTAD on llvm::SaveAndRestore 2022-12-02 15:36:12 -08:00
ExprEngineObjC.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
FunctionSummary.cpp
HTMLDiagnostics.cpp [clang] Use llvm::reverse (NFC) 2021-12-17 16:51:42 -08:00
LoopUnrolling.cpp [Clang][C++20] Support capturing structured bindings in lambdas 2022-08-04 10:12:53 +02:00
LoopWidening.cpp [analyzer][NFC] Refactor llvm::isa<> usages in the StaticAnalyzer 2021-10-20 17:43:31 +02:00
MemRegion.cpp [StaticAnalyzer] Use std::nullopt instead of None (NFC) 2022-12-03 11:34:24 -08:00
PlistDiagnostics.cpp [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
PrettyStackTraceLocationContext.h
ProgramState.cpp [analyzer] Process non-POD array element destructors 2022-08-24 01:28:21 +02:00
RangeConstraintManager.cpp [clang] Use std::nullopt instead of None in comments (NFC) 2022-12-04 20:31:05 -08:00
RangedConstraintManager.cpp [analyzer] Fix crash in RangedConstraintManager.cpp 2022-03-23 08:26:40 -05:00
RegionStore.cpp [clang] Use std::nullopt instead of None in comments (NFC) 2022-12-04 15:57:24 -08:00
SMTConstraintManager.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
SValBuilder.cpp [StaticAnalyzer] Use std::nullopt instead of None (NFC) 2022-12-03 11:34:24 -08:00
SVals.cpp [analyzer] Add new function `clang_analyzer_value` to ExprInspectionChecker 2022-07-15 20:07:04 +03:00
SarifDiagnostics.cpp Refactor StaticAnalyzer to use `clang::SarifDocumentWriter` 2022-11-17 14:47:02 -05:00
SimpleConstraintManager.cpp [analyzer] Remove NotifyAssumeClients 2022-06-07 13:02:03 +02:00
SimpleSValBuilder.cpp [StaticAnalyzer] Use std::nullopt instead of None (NFC) 2022-12-03 11:34:24 -08:00
Store.cpp [StaticAnalyzer] Use std::nullopt instead of None (NFC) 2022-12-03 11:34:24 -08:00
SymbolManager.cpp [analyzer] Fix the liveness of Symbols for values in regions referred by LazyCompoundVal 2022-10-19 16:06:32 +02:00
TextDiagnostics.cpp Fix duplicate word typos; NFC 2022-11-08 07:21:23 -05:00
WorkList.cpp Use llvm::less_second (NFC) 2022-06-04 22:48:32 -07:00