[cfe-commits] [Patch][Review] __has_feature(__feature__)
Chris Lattner
clattner at apple.com
Fri Feb 24 13:19:16 PST 2012
On Feb 24, 2012, at 11:47 AM, Jonathan Sauer wrote:
> 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.
This patch looks great to me, please commit!
-Chris
More information about the cfe-commits
mailing list