[PATCH] D78990: [analyzer] Allow bindings of the CompoundLiteralRegion

2020-05-28 Thread Valeriy Savchenko via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGbd06c417e6c7: [analyzer] Allow bindings of the CompoundLiteralRegion (authored by vsavchenko). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78990/new/ http

[PATCH] D78990: [analyzer] Allow bindings of the CompoundLiteralRegion

2020-05-28 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ accepted this revision. NoQ added a comment. This revision is now accepted and ready to land. Great, thanks! Comment at: clang/unittests/StaticAnalyzer/StoreTest.cpp:66 -Store StInit = StMgr.getInitialStore(SFC).getStore(); -SVal Zero = SVB.makeZeroVal(ACtx.IntTy)

[PATCH] D78990: [analyzer] Allow bindings of the CompoundLiteralRegion

2020-05-19 Thread Valeriy Savchenko via Phabricator via cfe-commits
vsavchenko updated this revision to Diff 264831. vsavchenko added a comment. Fix code review remarks. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78990/new/ https://reviews.llvm.org/D78990 Files: clang/lib/StaticAnalyzer/Core/RegionStore.cpp

[PATCH] D78990: [analyzer] Allow bindings of the CompoundLiteralRegion

2020-04-29 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ added a comment. Yay unit tests! Let's squash those mutually cancelling bugs. Comment at: clang/unittests/StaticAnalyzer/StoreTest.cpp:22-32 + struct TestContext { +StoreManager &SManager; +SValBuilder &Builder; +MemRegionManager &MRManager; +ASTContext &AS

[PATCH] D78990: [analyzer] Allow bindings of the CompoundLiteralRegion

2020-04-28 Thread Valeriy Savchenko via Phabricator via cfe-commits
vsavchenko created this revision. vsavchenko added reviewers: NoQ, dcoughlin. Herald added subscribers: cfe-commits, ASDenysPetrov, martong, Charusso, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, szepet, baloghadamsoftware, xazax.hun. Herald added a project: clang. CompoundLiteralR