Simplify and move functionality from evalIntegralCast to evalCast. Replace evalIntegralCast with evalCast.
This patch shall not change any behavior.
Paths
| Differential D97388
[analyzer] Replace StoreManager::evalIntegralCast with SValBuilder::evalCast AbandonedPublic Authored by ASDenysPetrov on Feb 24 2021, 7:33 AM.
Details
Summary Simplify and move functionality from evalIntegralCast to evalCast. Replace evalIntegralCast with evalCast. This patch shall not change any behavior.
Diff Detail Event TimelineHerald added subscribers: martong, Charusso, dkrupp and 7 others. ยท View Herald TranscriptFeb 24 2021, 7:33 AM Comment Actions Please make sure that you specify the parent revision or the patch can be applied on top of the tree. I really want to help you by finding regressions and stuff. But these mistakes hinder me a lot in applying your patches. Comment Actions
Sorry, probably missed to add a parent revision. Done. Comment Actions That's definitely an improvement for our API surface. I think this is good but like @steakhal said I recommend running on a large codebase looking for potential regressions because this code is (still) very much spaghetti and hard to reason about. Comment Actions All reports and crashes are preserved at this point of the patch stack - with or without z3 crosscheck on multiple projects - even on llvm. This revision is now accepted and ready to land.Mar 9 2021, 2:07 PM Comment Actions
Thanks for the approval. Before land this we should land the preparatory revision D97296. Please, take a look. It should be safe as well. This comment was removed by ASDenysPetrov. Comment Actions Mistakenly erased with another patch. Restored. But anyway this revision should be abandoned as irrelevant any more. D103096 is a new revision which makes this patch deprecated.
Revision Contents
Diff 348283 clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
clang/unittests/StaticAnalyzer/RangeSetTest.cpp
|