[PATCH] D97388: [analyzer] Replace StoreManager::evalIntegralCast with SValBuilder::evalCast

Denys Petrov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 27 08:41:15 PDT 2021


ASDenysPetrov updated this revision to Diff 348283.
ASDenysPetrov added a comment.
Herald added a subscriber: manas.

@vsavchenko 
Reworked the algorithm.

I hope this is the final version. Honestly, I also have the most optimized version but it has twice more similar(but different) code and `goto`s. I decided not to present it. Let it be less micro-optimized but much readable version.


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

https://reviews.llvm.org/D97388

Files:
  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: D97388.348283.patch
Type: text/x-patch
Size: 22964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210527/bab24ef4/attachment-0001.bin>


More information about the cfe-commits mailing list