[cfe-commits] [PATCH] Simplify isPowerOfTwo signature

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Dec 11 07:04:16 PST 2012


On 11 December 2012 02:06, Duncan Sands <baldrick at free.fr> wrote:
> Hi Saleem, why do you want this?  While isPowerOfTwo doesn't use data layout
> today, it's not unreasonable to imagine that it may use it one day.

We can always add it back that day, no?

>  As
> such,
> requiring target data can be considered part of the isPowerOfTwo API.

This is the c++ api, so it is not required to be stable.

> Ciao, Duncan.
>

Cheers,
Rafael



More information about the cfe-commits mailing list