r242010 - Intrin.h: Don't invade the program's namespace
Joerg Sonnenberger
joerg at britannica.bec.de
Mon Jul 13 06:11:11 PDT 2015
On Mon, Jul 13, 2015 at 02:53:24AM -0000, David Majnemer wrote:
> -__popcnt(unsigned int value) {
> - return __builtin_popcount(value);
> +__popcnt(unsigned int _Value) {
> + return __builtin_popcount(_Value);
> }
> static __inline__ unsigned char __DEFAULT_FN_ATTRS
> -_bittest(long const *a, long b) {
> - return (*a >> b) & 1;
> +_bittest(long const *__BitBase, long __BitPos) {
> + return (*__BitBase >> __BitPos) & 1;
> }
Any reason for mixing single and double underscore names?
Joerg
More information about the cfe-commits
mailing list