[llvm-commits] [PATCH] Add APInt::getSigned(bits, value)

Jeffrey Yasskin jyasskin at google.com
Mon Jul 18 17:29:40 PDT 2011


Add APInt::getSigned(bits, value) to avoid ambiguity between the
APInt(bits, uint64_t, bool) and APInt(bits, unsigned, uint64_t*)
constructors.  Deprecate both of those constructors, and update LLVM's
calls to them.

Also at http://codereview.appspot.com/4769041/ if you prefer.

Jeffrey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apint_signed.diff
Type: application/octet-stream
Size: 13559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110718/727b48ed/attachment.obj>


More information about the llvm-commits mailing list