[PATCH] D42457: [analyzer] Don't communicate evaluation failures through memregion hierarchy.

Devin Coughlin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 18:17:39 PST 2018


dcoughlin accepted this revision.
dcoughlin added a comment.
This revision is now accepted and ready to land.

This looks good to me. However, I do think you should take George's suggestion to have makeZeroElementRegion() have a boolean out parameter rather than a EvalCallOptions out parameter. This avoids unnecessarily coupling of `makeZeroElementRegion()` and `EvalallOptions`. You will need to make the boolean fields not bitfields (since we can't take a bitfield's address in C++). But EvalCallOptions is only on the stack (and we can pass it by const reference) so I don't think the increased size is something we should worry about.


https://reviews.llvm.org/D42457





More information about the cfe-commits mailing list