r284060 - Implement MS _BitScan intrinsics

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 12 12:44:44 PDT 2017

On Wed, Jun 7, 2017 at 7:31 PM, Saleem Abdulrasool <compnerd at compnerd.org>

> I'm worried about changing this signature all the time.  I suspect that it
> will cause the following to be emitted for valid code:
> warning: incompatible pointer types passing 'unsigned long *' to parameter
> of type 'unsigned int *' [-Wincompatible-pointer-types]
> Switching the signature on LP64 sounds much better to me.

Right, we have to do this. It needs to be `long` on Windows.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170612/36eeab7a/attachment-0001.html>

More information about the cfe-commits mailing list