[cfe-commits] [libc++ patch] Using double underscore feature variant (take 2)

Jean-Daniel Dupas devlists at shadowlab.org
Mon Jul 2 07:58:34 PDT 2012


Hello

Now that we let some time pass, and that the last stable clang released support double underscore variant in __has_feature, I repost this (updated) patch to add double underscores in __has_feature tests in libc++ headers.

This is require to avoid conflict with user defined macros like "cxx_noreturn", which is a perfectly valid name for an user defined macros but will breaks libc++ headers.

Is it OK to apply it ? 

Thanks

-- Jean-Daniel



-------------- next part --------------
A non-text attachment was scrubbed...
Name: underscore.patch
Type: application/octet-stream
Size: 26256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120702/42eb4837/attachment.obj>


More information about the cfe-commits mailing list