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.


Jonathan

[*] <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-February/019943.html>ff.

Attachment: underscore_features.diff
Description: Binary data


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to