[cfe-dev] magic __has_feature macro
eli.friedman at gmail.com
Fri Jun 12 18:18:33 PDT 2009
On Fri, Jun 12, 2009 at 6:03 PM, Chris Lattner<clattner at apple.com> wrote:
> Hi All,
> As Clang "grows up", it will continue to get more features. I'd like
> to add new "__has_feature" builtin function-like macro that evaluates
> to 0 or 1 if clang has a specified feature.
What does it evaluate to if clang doesn't have the specified feature? :)
Sounds like a good idea.
More information about the cfe-dev