[PATCH] D67932: [analyzer] Fix accidentally skipping the call during inlined defensive check suppression.

Csaba Dabis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 04:26:22 PDT 2019


Charusso accepted this revision.
Charusso added a comment.

> [...] one reason why we can't simply use the error node may be that the binding to that variable might have already disappeared from the state by the time the bug is found.

Yes, that is pretty interesting. I have found error nodes which after the purge program point, so when we arbitrarily pick the last node to prevent false alarms we could pick the last node which has more information, 2-3 nodes earlier on the path. I am not sure whether this new approach would be useful here, other than that I like the idea.


Repository:
  rC Clang

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

https://reviews.llvm.org/D67932





More information about the cfe-commits mailing list