[PATCH] D132142: [analyzer] Prefer wrapping SymbolicRegions by ElementRegions

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 23 08:43:08 PDT 2022


steakhal updated this revision to Diff 454857.
steakhal added a comment.

- Simplify `getApproximatedType()` to `return sym->getType()->getPointeeType();`
- Add doc comments to `getApproximatedType()`
- Removed the "Copied from RegionStoreManager::bind()" FIXME from the `ExprEngine::VisitMemberExpr()`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132142/new/

https://reviews.llvm.org/D132142

Files:
  clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
  clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  clang/lib/StaticAnalyzer/Core/RegionStore.cpp
  clang/test/Analysis/ctor.mm
  clang/test/Analysis/expr-inspection.c
  clang/test/Analysis/memory-model.cpp
  clang/test/Analysis/ptr-arith.c
  clang/test/Analysis/ptr-arith.cpp
  clang/test/Analysis/trivial-copy-struct.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132142.454857.patch
Type: text/x-patch
Size: 15839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220823/73445f85/attachment-0001.bin>


More information about the cfe-commits mailing list