[cfe-commits] [Patch][Review] __has_feature(__feature__)
Jean-Daniel Dupas
devlists at shadowlab.org
Fri Feb 24 15:26:59 PST 2012
Le 24 févr. 2012 à 20:47, Jonathan Sauer a écrit :
> Hello,
>
> following the discussion in cfe-dev[*], I decided to put my money where my mouth is and have attached a patch
> that makes it possible to use __has_feature(__feature__) in place of __has_feature(feature) to protect the
> feature name in case the user defines a macro with the same name.
>
> I modeled the patch after the similar handling of __attribute__ names.
>
Shouldn't __has_extension be updated to. It must be consistent with __has_feature.
-- Jean-Daniel
More information about the cfe-commits
mailing list