[PATCH] D128056: [clang][dataflow] Singleton pointer values for null pointers.

weiyi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 22 10:11:36 PDT 2022


wyt updated this revision to Diff 439078.
wyt added a comment.

Use QualType as key to singleton map, implement getOrCreate factory function for retrieving null pointer values.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128056

Files:
  clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
  clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
  clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
  clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
  clang/lib/Analysis/FlowSensitive/Transfer.cpp
  clang/unittests/Analysis/FlowSensitive/TransferTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128056.439078.patch
Type: text/x-patch
Size: 8207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220622/2f62dc94/attachment.bin>


More information about the cfe-commits mailing list