danielmarjamaki added a comment.
In https://reviews.llvm.org/D36471#835410, @xazax.hun wrote:
> Can't you reuse somehow some machinery already available to evaluate the
> arithmetic operators? Those should already handle most of your TODOs and
Sounds good.. I have not seen that machinery.. I will look around.
To me it seems it would be nice if this machinery was builtin in APSInt so I
could calculate (x+y) even if x and y did not have the same signedness and that
the result would be unsigned.
cfe-commits mailing list