[PATCH] D103094: [analyzer] Implemented RangeSet::Factory::castTo function to perform promotions, truncations and conversions.

Denys Petrov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 23 07:29:12 PDT 2021


ASDenysPetrov updated this revision to Diff 353954.
ASDenysPetrov added a comment.

Made changes according to comments. Optimized `castTo` function for each cast case. Simplified unit test.


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

https://reviews.llvm.org/D103094

Files:
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
  clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
  clang/unittests/StaticAnalyzer/RangeSetTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103094.353954.patch
Type: text/x-patch
Size: 32968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210623/efa4db57/attachment-0001.bin>


More information about the cfe-commits mailing list