llvm-project/clang/lib/StaticAnalyzer/Core
Tomasz Kamiński 6194229c62 [analyzer] Make directly bounded LazyCompoundVal as lazily copied
Previously, `LazyCompoundVal` bindings to subregions referred by
`LazyCopoundVals`, were not marked as //lazily copied//.

This change returns `LazyCompoundVals` from `getInterestingValues()`,
so their regions can be marked as //lazily copied// in `RemoveDeadBindingsWorker::VisitBinding()`.

Depends on D134947

Authored by: Tomasz Kamiński <tomasz.kamiński@sonarsource.com>

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D135136
2022-10-19 16:06:32 +02:00
..
APSIntType.cpp
AnalysisManager.cpp
AnalyzerOptions.cpp [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
BasicValueFactory.cpp
BlockCounter.cpp
BugReporter.cpp [clang] Use llvm::reverse (NFC) 2022-10-15 21:54:13 -07:00
BugReporterVisitors.cpp [analyzer] Support implicit parameter 'self' in path note 2022-09-21 17:26:09 -07:00
CMakeLists.txt [analyzer][NFC] Separate CallDescription from CallEvent 2021-11-15 19:10:46 +01:00
CallDescription.cpp [clang] Don't use Optional::getValue (NFC) 2022-06-20 22:59:26 -07:00
CallEvent.cpp [analyzer] Pass correct bldrCtx to computeObjectUnderConstruction 2022-09-26 11:39:10 +02:00
Checker.cpp
CheckerContext.cpp [analyzer][NFC] Prefer using isa<> instead getAs<> in conditions 2022-06-15 16:58:13 +02:00
CheckerHelpers.cpp [analyzer] Model comparision methods of std::unique_ptr 2021-07-16 09:54:05 +05:30
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] DynamicSize: Rename 'size' to 'extent' 2021-04-05 19:20:43 +02: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 [analyzer] Workaround crash on encountering Class non-type template parameters 2022-10-13 08:41:31 +02:00
ExprEngineC.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
ExprEngineCXX.cpp [analyzer] Pass correct bldrCtx to computeObjectUnderConstruction 2022-09-26 11:39:10 +02:00
ExprEngineCallAndReturn.cpp [analyzer] Pass correct bldrCtx to computeObjectUnderConstruction 2022-09-26 11:39:10 +02: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 [clang][NFC] Use enum for -fstrict-flex-arrays 2022-10-06 10:45:41 -07: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][clang-tools-extra] LLVM_NODISCARD => [[nodiscard]]. NFC 2022-08-09 07:11:18 +00:00
RangedConstraintManager.cpp [analyzer] Fix crash in RangedConstraintManager.cpp 2022-03-23 08:26:40 -05:00
RegionStore.cpp [analyzer] Make directly bounded LazyCompoundVal as lazily copied 2022-10-19 16:06:32 +02:00
SMTConstraintManager.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
SValBuilder.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
SVals.cpp [analyzer] Add new function `clang_analyzer_value` to ExprInspectionChecker 2022-07-15 20:07:04 +03:00
SarifDiagnostics.cpp [clang] Convert for_each to range-based for loops (NFC) 2022-06-10 22:39:45 -07:00
SimpleConstraintManager.cpp [analyzer] Remove NotifyAssumeClients 2022-06-07 13:02:03 +02:00
SimpleSValBuilder.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
Store.cpp [analyzer][NFC] Prefer using isa<> instead getAs<> in conditions 2022-06-15 16:58:13 +02: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 a typo (occured => occurred) 2022-02-08 21:35:26 +01:00
WorkList.cpp Use llvm::less_second (NFC) 2022-06-04 22:48:32 -07:00