[PATCH] D117229: [Analyzer] Produce SymbolCast for pointer to integer cast

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 06:49:27 PDT 2022


martong updated this revision to Diff 427621.
martong marked 2 inline comments as done.
martong added a comment.

- add new assert for canonical type
- remove superflous assert about makeSymbolVal


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117229

Files:
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
  clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
  clang/test/Analysis/produce-ptr-to-integer-symbolcast.cpp
  clang/test/Analysis/symbol-simplification-mem-region-to-int-cast.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117229.427621.patch
Type: text/x-patch
Size: 5536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220506/f181bfa0/attachment-0001.bin>


More information about the cfe-commits mailing list