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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to