[PATCH] D62883: [analyzer] Track conditions of terminator statements on which the reported node depends on

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 20 17:03:16 PDT 2019


xazax.hun added a comment.

In D62883#1552870 <https://reviews.llvm.org/D62883#1552870>, @Szelethus wrote:

> - Now using `CFGBlock::getTerminatorConditionExpr()`
> - Uniqueing already tracked conditions as an (`Expr`, `ExplodedNode`) pair instead of on `Expr`


I would be surprised to see the same ExploderNode multiple time a lot.  Also, ExploderNode will have a program point, so having both an ExploderNode and an Expr feels redundant to me.

> - Add a `TODO:` about caching
> - Add plenty of new test cases for good measure (examples from my latest mail http://lists.llvm.org/pipermail/cfe-dev/2019-June/062613.html)




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

https://reviews.llvm.org/D62883





More information about the cfe-commits mailing list